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

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

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

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.v3QueryExecutorImplsendFastpathCall

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
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getResourceAsStream (ClassLoader)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • 21 Best Atom Packages for 2021
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