congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
QueryExecutorImpl.sendExecute
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.postgresql/postgresql

public synchronized void fetch(ResultCursor cursor, ResultHandler handler, int fetchSize)
  throws SQLException {
 waitOnLock();
 final Portal portal = (Portal) cursor;
 // Insert a ResultHandler that turns bare command statuses into empty datasets
 // (if the fetch returns no rows, we see just a CommandStatus..)
 final ResultHandler delegateHandler = handler;
 handler = new ResultHandlerDelegate(delegateHandler) {
  public void handleCommandStatus(String status, int updateCount, long insertOID) {
   handleResultRows(portal.getQuery(), null, new ArrayList<byte[][]>(), null);
  }
 };
 // Now actually run it.
 try {
  processDeadParsedQueries();
  processDeadPortals();
  sendExecute(portal.getQuery(), portal, fetchSize);
  sendSync();
  processResults(handler, 0);
  estimatedReceiveBufferBytes = 0;
 } catch (IOException e) {
  abort();
  handler.handleError(
    new PSQLException(GT.tr("An I/O error occurred while sending to the backend."),
      PSQLState.CONNECTION_FAILURE, e));
 }
 handler.handleCompletion();
}
origin: postgresql/postgresql

processDeadPortals();
sendExecute(portal.getQuery(), portal, fetchSize);
sendSync();
origin: postgresql/postgresql

  sendDescribePortal(query, portal);
sendExecute(query, portal, rows);
origin: org.postgresql/postgresql

sendExecute(query, portal, rows);
origin: org.ancoron.postgresql/org.postgresql.osgi

processDeadPortals();
sendExecute(portal.getQuery(), portal, fetchSize);
sendSync();
origin: org.ancoron.postgresql/org.postgresql

processDeadPortals();
sendExecute(portal.getQuery(), portal, fetchSize);
sendSync();
origin: org.ancoron.postgresql/org.postgresql

  sendDescribePortal(query, portal);
sendExecute(query, portal, rows);
origin: org.ancoron.postgresql/org.postgresql.osgi

  sendDescribePortal(query, portal);
sendExecute(query, portal, rows);
org.postgresql.core.v3QueryExecutorImplsendExecute

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

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JFileChooser (javax.swing)
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now