Codota Logo
QueryExecutorImpl.sendOneQuery
Code IndexAdd Codota to your IDE (free)

How to use
sendOneQuery
method
in
org.postgresql.core.v3.QueryExecutorImpl

Best Java code snippets using org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery (Showing top 13 results out of 315)

  • Common ways to obtain QueryExecutorImpl
private void myMethod () {
QueryExecutorImpl q =
  • Codota IconProtocolConnectionImpl protocolConnectionImpl;PGStream pgStream;Properties info;Logger logger;new QueryExecutorImpl(protocolConnectionImpl, pgStream, info, logger)
  • Smart code suggestions by Codota
}
origin: org.postgresql/postgresql

sendOneQuery((SimpleQuery) query, (SimpleParameterList) parameters, maxRows, fetchSize,
  flags);
 subparam = subparams[i];
sendOneQuery((SimpleQuery) subquery, subparam, maxRows, fetchSize, flags);
origin: org.postgresql/postgresql

private boolean sendAutomaticSavepoint(Query query, int flags) throws IOException {
 if (((flags & QueryExecutor.QUERY_SUPPRESS_BEGIN) == 0
   || getTransactionState() == TransactionState.OPEN)
   && query != restoreToAutoSave
   && getAutoSave() != AutoSave.NEVER
   // If query has no resulting fields, it cannot fail with 'cached plan must not change result type'
   // thus no need to set a safepoint before such query
   && (getAutoSave() == AutoSave.ALWAYS
   // If CompositeQuery is observed, just assume it might fail and set the savepoint
   || !(query instanceof SimpleQuery)
   || ((SimpleQuery) query).getFields() != null)) {
  sendOneQuery(autoSaveQuery, SimpleQuery.NO_PARAMETERS, 1, 0,
    QUERY_NO_RESULTS | QUERY_NO_METADATA
      // PostgreSQL does not support bind, exec, simple, sync message flow,
      // so we force autosavepoint to use simple if the main query is using simple
      | QUERY_EXECUTE_AS_SIMPLE);
  return true;
 }
 return false;
}
origin: postgresql/postgresql

  return delegateHandler;
sendOneQuery(beginTransactionQuery, SimpleQuery.NO_PARAMETERS, 0, 0, QueryExecutor.QUERY_NO_METADATA);
origin: org.postgresql/postgresql

sendOneQuery(beginTransactionQuery, SimpleQuery.NO_PARAMETERS, 0, 0,
  QueryExecutor.QUERY_NO_METADATA);
sendSync();
origin: postgresql/postgresql

sendOneQuery((SimpleQuery)query, (SimpleParameterList)parameters, maxRows, fetchSize, flags);
sendOneQuery(subqueries[i], subparam, maxRows, fetchSize, flags);
origin: org.postgresql/postgresql

sendOneQuery(beginTransactionQuery, SimpleQuery.NO_PARAMETERS, 0, 0, beginFlags);
origin: postgresql/postgresql

sendOneQuery(beginTransactionQuery, SimpleQuery.NO_PARAMETERS, 0, 0, QueryExecutor.QUERY_NO_METADATA);
sendSync();
processResults(handler, 0);
origin: org.ancoron.postgresql/org.postgresql

  return delegateHandler;
sendOneQuery(beginTransactionQuery, SimpleQuery.NO_PARAMETERS, 0, 0, QueryExecutor.QUERY_NO_METADATA);
origin: org.ancoron.postgresql/org.postgresql.osgi

  return delegateHandler;
sendOneQuery(beginTransactionQuery, SimpleQuery.NO_PARAMETERS, 0, 0, QueryExecutor.QUERY_NO_METADATA);
origin: org.ancoron.postgresql/org.postgresql.osgi

sendOneQuery((SimpleQuery)query, (SimpleParameterList)parameters, maxRows, fetchSize, flags);
sendOneQuery(subqueries[i], subparam, maxRows, fetchSize, flags);
origin: org.ancoron.postgresql/org.postgresql

sendOneQuery((SimpleQuery)query, (SimpleParameterList)parameters, maxRows, fetchSize, flags);
sendOneQuery(subqueries[i], subparam, maxRows, fetchSize, flags);
origin: org.ancoron.postgresql/org.postgresql.osgi

sendOneQuery(beginTransactionQuery, SimpleQuery.NO_PARAMETERS, 0, 0, QueryExecutor.QUERY_NO_METADATA);
sendSync();
processResults(handler, 0);
origin: org.ancoron.postgresql/org.postgresql

sendOneQuery(beginTransactionQuery, SimpleQuery.NO_PARAMETERS, 0, 0, QueryExecutor.QUERY_NO_METADATA);
sendSync();
processResults(handler, 0);
org.postgresql.core.v3QueryExecutorImplsendOneQuery

Popular methods of QueryExecutorImpl

  • <init>
  • cancelCopy
    Finishes a copy operation and unlocks connection discarding any exchanged data.
  • doSubprotocolBegin
  • endCopy
    Finishes writing to copy and unlocks connection.
  • flushCopy
  • hasLock
  • initCopy
    Locks connection and calls initializer for a new CopyOperation Called via startCopy -> processCopyRe
  • interpretCommandStatus
  • lock
    Obtain lock over this connection for given object, blocking to wait if necessary.
  • processCopyResults
    Handles copy sub protocol responses from server. Unlocks at end of sub protocol, so operations on pg
  • processDeadParsedQueries
  • processDeadPortals
  • processDeadParsedQueries,
  • processDeadPortals,
  • processResults,
  • readFromCopy,
  • receiveAsyncNotify,
  • receiveCommandStatus,
  • receiveErrorResponse,
  • receiveFastpathResult,
  • receiveFields,
  • receiveNoticeResponse

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onRequestPermissionsResult (Fragment)
  • getApplicationContext (Context)
  • Kernel (java.awt.image)
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ImageIO (javax.imageio)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
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