congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
QueryExecutorImpl.sendSync
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.postgresql/postgresql

sendSync();
processResults(resultHandler, flags);
estimatedReceiveBufferBytes = 0;
origin: org.postgresql/postgresql

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

if (disallowBatching || queryCount >= MAX_BUFFERED_QUERIES)
  sendSync();
  processResults(trackingHandler, flags);
  if (disallowBatching || queryCount >= MAX_BUFFERED_QUERIES)
    sendSync();
    processResults(trackingHandler, flags);
origin: org.postgresql/postgresql

pgStream.sendChar(0);
pgStream.flush();
sendSync(); // send sync message
origin: org.postgresql/postgresql

 sendSync();
sendSync();
processResults(handler, flags);
estimatedReceiveBufferBytes = 0;
origin: postgresql/postgresql

sendSync();
processResults(handler, 0);
origin: org.postgresql/postgresql

sendSync();
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

queryCount = 0;
sendQuery((V3Query)query, (V3ParameterList)parameters, maxRows, fetchSize, flags, trackingHandler);
sendSync();
processResults(handler, flags);
sendSync();
processResults(handler, flags);
handler.handleError(new PSQLException(GT.tr("Unable to bind parameter values for statement."), PSQLState.INVALID_PARAMETER_VALUE, se.getIOException()));
origin: postgresql/postgresql

pgStream.SendChar(0);
pgStream.flush();
sendSync();     // send sync message
origin: postgresql/postgresql

sendSync();
origin: postgresql/postgresql

sendSync();
processResults(handler, flags);
origin: org.ancoron.postgresql/org.postgresql.osgi

if (queryCount >= MAX_BUFFERED_QUERIES)
  sendSync();
  processResults(trackingHandler, flags);
  if (queryCount >= MAX_BUFFERED_QUERIES)
    sendSync();
    processResults(trackingHandler, flags);
origin: org.ancoron.postgresql/org.postgresql

if (disallowBatching || queryCount >= MAX_BUFFERED_QUERIES)
  sendSync();
  processResults(trackingHandler, flags);
  if (disallowBatching || queryCount >= MAX_BUFFERED_QUERIES)
    sendSync();
    processResults(trackingHandler, flags);
origin: org.ancoron.postgresql/org.postgresql

sendSync();
processResults(handler, 0);
origin: org.ancoron.postgresql/org.postgresql.osgi

sendSync();
processResults(handler, 0);
origin: org.ancoron.postgresql/org.postgresql.osgi

sendSync();
origin: org.ancoron.postgresql/org.postgresql

sendSync();
origin: org.ancoron.postgresql/org.postgresql

sendSync();
processResults(handler, flags);
origin: org.ancoron.postgresql/org.postgresql.osgi

sendSync();
processResults(handler, flags);
org.postgresql.core.v3QueryExecutorImplsendSync

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

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ImageIO (javax.imageio)
  • Table (org.hibernate.mapping)
    A relational table
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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