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

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

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

origin: org.postgresql/postgresql

LOGGER.log(Level.FINEST, "Forcing Sync, receive buffer full or batching disallowed");
sendSync();
processResults(resultHandler, flags);
estimatedReceiveBufferBytes = 0;
if (batchHandler != null) {
origin: org.postgresql/postgresql

   QueryExecutor.QUERY_NO_METADATA);
 sendSync();
 processResults(handler, 0);
 estimatedReceiveBufferBytes = 0;
} catch (IOException ioe) {
origin: postgresql/postgresql

processResults(trackingHandler, flags);
  processResults(trackingHandler, flags);
origin: org.postgresql/postgresql

  sendSync();
 processResults(handler, flags);
 estimatedReceiveBufferBytes = 0;
} catch (PGBindException se) {
 processResults(handler, flags);
 estimatedReceiveBufferBytes = 0;
 handler
origin: postgresql/postgresql

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

 sendSync();
processResults(handler, flags);
estimatedReceiveBufferBytes = 0;
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

sendQuery((V3Query)query, (V3ParameterList)parameters, maxRows, fetchSize, flags, trackingHandler);
sendSync();
processResults(handler, flags);
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

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

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

processResults(trackingHandler, flags);
  processResults(trackingHandler, flags);
origin: org.ancoron.postgresql/org.postgresql

processResults(trackingHandler, flags);
  processResults(trackingHandler, flags);
origin: org.ancoron.postgresql/org.postgresql

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

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

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

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

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

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

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

processResults(handler, flags);
org.postgresql.core.v3QueryExecutorImplprocessResults

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,
  • readFromCopy,
  • receiveAsyncNotify,
  • receiveCommandStatus,
  • receiveErrorResponse,
  • receiveFastpathResult,
  • receiveFields,
  • receiveNoticeResponse

Popular in Java

  • Creating JSON documents from java classes using gson
  • addToBackStack (FragmentTransaction)
  • startActivity (Activity)
  • requestLocationUpdates (LocationManager)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • From CI to AI: The AI layer in your organization
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