Codota Logo
ParameterList.getInParameterCount
Code IndexAdd Codota to your IDE (free)

How to use
getInParameterCount
method
in
org.postgresql.core.ParameterList

Best Java code snippets using org.postgresql.core.ParameterList.getInParameterCount (Showing top 4 results out of 315)

  • Common ways to obtain ParameterList
private void myMethod () {
ParameterList p =
  • Codota IconSimpleParameterList[] subparams;new CompositeParameterList(subparams, offsets)
  • Codota IconQueryExecutor queryExecutor;queryExecutor.createFastpathParameters(count)
  • Codota Iconnew FastpathParameterList(paramCount)
  • Smart code suggestions by Codota
}
origin: org.postgresql/postgresql

PgCallableStatement(PgConnection connection, String sql, int rsType, int rsConcurrency,
  int rsHoldability) throws SQLException {
 super(connection, connection.borrowCallableQuery(sql), rsType, rsConcurrency, rsHoldability);
 this.isFunction = preparedQuery.isFunction;
 if (this.isFunction) {
  int inParamCount = this.preparedParameters.getInParameterCount() + 1;
  this.testReturn = new int[inParamCount];
  this.functionReturnType = new int[inParamCount];
 }
}
origin: postgresql/postgresql

public AbstractJdbc2Statement(AbstractJdbc2Connection connection, String sql, boolean isCallable, int rsType, int rsConcurrency) throws SQLException
{
  this.connection = connection;
  this.lastSimpleQuery = null;
  String parsed_sql = replaceProcessing(sql);
  if (isCallable)
    parsed_sql = modifyJdbcCall(parsed_sql);
  this.preparedQuery = connection.getQueryExecutor().createParameterizedQuery(parsed_sql);
  this.preparedParameters = preparedQuery.createParameterList();
  int inParamCount =  preparedParameters.getInParameterCount() + 1;
  this.testReturn = new int[inParamCount];
  this.functionReturnType = new int[inParamCount];
  resultsettype = rsType;
  concurrency = rsConcurrency;
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public AbstractJdbc2Statement(AbstractJdbc2Connection connection, String sql, boolean isCallable, int rsType, int rsConcurrency) throws SQLException
{
  this.connection = connection;
  this.lastSimpleQuery = null;
  String parsed_sql = replaceProcessing(sql);
  if (isCallable)
    parsed_sql = modifyJdbcCall(parsed_sql);
  this.preparedQuery = connection.getQueryExecutor().createParameterizedQuery(parsed_sql);
  this.preparedParameters = preparedQuery.createParameterList();
  int inParamCount =  preparedParameters.getInParameterCount() + 1;
  this.testReturn = new int[inParamCount];
  this.functionReturnType = new int[inParamCount];
  resultsettype = rsType;
  concurrency = rsConcurrency;
}
origin: org.ancoron.postgresql/org.postgresql

public AbstractJdbc2Statement(AbstractJdbc2Connection connection, String sql, boolean isCallable, int rsType, int rsConcurrency) throws SQLException
{
  this.connection = connection;
  this.lastSimpleQuery = null;
  String parsed_sql = replaceProcessing(sql);
  if (isCallable)
    parsed_sql = modifyJdbcCall(parsed_sql);
  this.preparedQuery = connection.getQueryExecutor().createParameterizedQuery(parsed_sql);
  this.preparedParameters = preparedQuery.createParameterList();
  int inParamCount =  preparedParameters.getInParameterCount() + 1;
  this.testReturn = new int[inParamCount];
  this.functionReturnType = new int[inParamCount];
  resultsettype = rsType;
  concurrency = rsConcurrency;
}
org.postgresql.coreParameterListgetInParameterCount

Javadoc

Get the number of IN parameters in this list.

Popular methods of ParameterList

  • clear
    Unbind all parameter values bound in this list.
  • copy
    Perform a shallow copy of this ParameterList, returning a new instance (still suitable for passing t
  • getOutParameterCount
    Get the number of OUT parameters in this list.
  • getParameterCount
    Get the number of parameters in this list. This value never changes for a particular instance, and m
  • getTypeOIDs
    Return the oids of the parameters in this list. May be null for a ParameterList that does not suppor
  • registerOutParameter
  • setBytea
    Binds a binary bytea value stored as a bytearray to a parameter. The parameter's type is implicitly
  • setLiteralParameter
    Binds a String value that is an unquoted literal to the server's query parser (for example, a bare i
  • setNull
    Binds a SQL NULL value to a parameter. Associated with the parameter is a typename for the parameter
  • setStringParameter
    Binds a String value that needs to be quoted for the server's parser to understand (for example, a t
  • toString
    Return a human-readable representation of a particular parameter in this ParameterList. If the param
  • appendAll
    Use this operation to append more parameters to the current list.
  • toString,
  • appendAll,
  • setBinaryParameter,
  • setText

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSystemService (Context)
  • startActivity (Activity)
  • getExternalFilesDir (Context)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
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