Codota Logo
CompositeParameterList
Code IndexAdd Codota to your IDE (free)

How to use
CompositeParameterList
in
org.postgresql.core.v3

Best Java code snippets using org.postgresql.core.v3.CompositeParameterList (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: org.postgresql/postgresql

public ParameterList copy() {
 SimpleParameterList[] copySub = new SimpleParameterList[subparams.length];
 for (int sub = 0; sub < subparams.length; ++sub) {
  copySub[sub] = (SimpleParameterList) subparams[sub].copy();
 }
 return new CompositeParameterList(copySub, offsets);
}
origin: org.postgresql/postgresql

public String toString(int index, boolean standardConformingStrings) {
 try {
  int sub = findSubParam(index);
  return subparams[sub].toString(index - offsets[sub], standardConformingStrings);
 } catch (SQLException e) {
  throw new IllegalStateException(e.getMessage());
 }
}
origin: org.postgresql/postgresql

public void setBinaryParameter(int index, byte[] value, int oid) throws SQLException {
 int sub = findSubParam(index);
 subparams[sub].setBinaryParameter(index - offsets[sub], value, oid);
}
origin: postgresql/postgresql

public ParameterList copy() {
  SimpleParameterList[] copySub = new SimpleParameterList[subparams.length];
  for (int sub = 0; sub < subparams.length; ++sub)
    copySub[sub] = (SimpleParameterList)subparams[sub].copy();
  return new CompositeParameterList(copySub, offsets);
}
origin: org.postgresql/postgresql

public void setNull(int index, int oid) throws SQLException {
 int sub = findSubParam(index);
 subparams[sub].setNull(index - offsets[sub], oid);
}
origin: org.postgresql/postgresql

public ParameterList createParameterList() {
 SimpleParameterList[] subparams = new SimpleParameterList[subqueries.length];
 for (int i = 0; i < subqueries.length; ++i) {
  subparams[i] = (SimpleParameterList) subqueries[i].createParameterList();
 }
 return new CompositeParameterList(subparams, offsets);
}
origin: org.postgresql/postgresql

public void setStringParameter(int index, String value, int oid) throws SQLException {
 int sub = findSubParam(index);
 subparams[sub].setStringParameter(index - offsets[sub], value, oid);
}
origin: postgresql/postgresql

public ParameterList createParameterList() {
  SimpleParameterList[] subparams = new SimpleParameterList[subqueries.length];
  for (int i = 0; i < subqueries.length; ++i)
    subparams[i] = (SimpleParameterList)subqueries[i].createParameterList();
  return new CompositeParameterList(subparams, offsets);
}
origin: org.postgresql/postgresql

public void setIntParameter(int index, int value) throws SQLException {
 int sub = findSubParam(index);
 subparams[sub].setIntParameter(index - offsets[sub], value);
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public ParameterList createParameterList() {
  SimpleParameterList[] subparams = new SimpleParameterList[subqueries.length];
  for (int i = 0; i < subqueries.length; ++i)
    subparams[i] = (SimpleParameterList)subqueries[i].createParameterList();
  return new CompositeParameterList(subparams, offsets);
}
origin: org.postgresql/postgresql

public void setLiteralParameter(int index, String value, int oid) throws SQLException {
 int sub = findSubParam(index);
 subparams[sub].setStringParameter(index - offsets[sub], value, oid);
}
origin: org.ancoron.postgresql/org.postgresql

public ParameterList createParameterList() {
  SimpleParameterList[] subparams = new SimpleParameterList[subqueries.length];
  for (int i = 0; i < subqueries.length; ++i)
    subparams[i] = (SimpleParameterList)subqueries[i].createParameterList();
  return new CompositeParameterList(subparams, offsets);
}
origin: org.postgresql/postgresql

public void setBytea(int index, byte[] data, int offset, int length) throws SQLException {
 int sub = findSubParam(index);
 subparams[sub].setBytea(index - offsets[sub], data, offset, length);
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public ParameterList copy() {
  SimpleParameterList[] copySub = new SimpleParameterList[subparams.length];
  for (int sub = 0; sub < subparams.length; ++sub)
    copySub[sub] = (SimpleParameterList)subparams[sub].copy();
  return new CompositeParameterList(copySub, offsets);
}
origin: postgresql/postgresql

public String toString(int index) {
  try
  {
    int sub = findSubParam(index);
    return subparams[sub].toString(index - offsets[sub]);
  }
  catch (SQLException e)
  {
    throw new IllegalStateException(e.getMessage());
  }
}
origin: org.ancoron.postgresql/org.postgresql

public ParameterList copy() {
  SimpleParameterList[] copySub = new SimpleParameterList[subparams.length];
  for (int sub = 0; sub < subparams.length; ++sub)
    copySub[sub] = (SimpleParameterList)subparams[sub].copy();
  return new CompositeParameterList(copySub, offsets);
}
origin: postgresql/postgresql

public void setNull(int index, int oid) throws SQLException {
  int sub = findSubParam(index);
  subparams[sub].setNull(index - offsets[sub], oid);
}
origin: org.postgresql/postgresql

public void setBytea(int index, InputStream stream) throws SQLException {
 int sub = findSubParam(index);
 subparams[sub].setBytea(index - offsets[sub], stream);
}
origin: org.postgresql/postgresql

public void setText(int index, InputStream stream) throws SQLException {
 int sub = findSubParam(index);
 subparams[sub].setText(index - offsets[sub], stream);
}
origin: org.postgresql/postgresql

public void setBytea(int index, InputStream stream, int length) throws SQLException {
 int sub = findSubParam(index);
 subparams[sub].setBytea(index - offsets[sub], stream, length);
}
org.postgresql.core.v3CompositeParameterList

Javadoc

Parameter list for V3 query strings that contain multiple statements. We delegate to one SimpleParameterList per statement, and translate parameter indexes as needed.

Most used methods

  • <init>
  • findSubParam

Popular in Java

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • getApplicationContext (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now