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

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

Best Java code snippets using org.postgresql.core.v3.QueryExecutorImpl.receiveFastpathResult (Showing top 4 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

public synchronized byte[] fastpathCall(int fnid, ParameterList parameters, boolean suppressBegin)
  throws SQLException {
 waitOnLock();
 if (!suppressBegin) {
  doSubprotocolBegin();
 }
 try {
  sendFastpathCall(fnid, (SimpleParameterList) parameters);
  return receiveFastpathResult();
 } catch (IOException ioe) {
  abort();
  throw new PSQLException(GT.tr("An I/O error occurred while sending to the backend."),
    PSQLState.CONNECTION_FAILURE, ioe);
 }
}
origin: postgresql/postgresql

public synchronized byte[]
fastpathCall(int fnid, ParameterList parameters, boolean suppressBegin) throws SQLException {
  waitOnLock();
  if (!suppressBegin)
  {
    doSubprotocolBegin();
  }
  try
  {
    sendFastpathCall(fnid, (SimpleParameterList)parameters);
    return receiveFastpathResult();
  }
  catch (IOException ioe)
  {
    protoConnection.close();
    throw new PSQLException(GT.tr("An I/O error occured while sending to the backend."), PSQLState.CONNECTION_FAILURE, ioe);
  }
}
origin: org.ancoron.postgresql/org.postgresql

public synchronized byte[]
fastpathCall(int fnid, ParameterList parameters, boolean suppressBegin) throws SQLException {
  waitOnLock();
  if (!suppressBegin)
  {
    doSubprotocolBegin();
  }
  try
  {
    sendFastpathCall(fnid, (SimpleParameterList)parameters);
    return receiveFastpathResult();
  }
  catch (IOException ioe)
  {
    protoConnection.close();
    throw new PSQLException(GT.tr("An I/O error occured while sending to the backend."), PSQLState.CONNECTION_FAILURE, ioe);
  }
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public synchronized byte[]
fastpathCall(int fnid, ParameterList parameters, boolean suppressBegin) throws SQLException {
  waitOnLock();
  if (!suppressBegin)
  {
    doSubprotocolBegin();
  }
  try
  {
    sendFastpathCall(fnid, (SimpleParameterList)parameters);
    return receiveFastpathResult();
  }
  catch (IOException ioe)
  {
    protoConnection.close();
    throw new PSQLException(GT.tr("An I/O error occured while sending to the backend."), PSQLState.CONNECTION_FAILURE, ioe);
  }
}
org.postgresql.core.v3QueryExecutorImplreceiveFastpathResult

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,
  • receiveFields,
  • receiveNoticeResponse

Popular in Java

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JFileChooser (javax.swing)
  • JLabel (javax.swing)
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