Codota Logo
PGStream.ReceiveTupleV2
Code IndexAdd Codota to your IDE (free)

How to use
ReceiveTupleV2
method
in
org.postgresql.core.PGStream

Best Java code snippets using org.postgresql.core.PGStream.ReceiveTupleV2 (Showing top 3 results out of 315)

  • Common ways to obtain PGStream
private void myMethod () {
PGStream p =
  • Codota IconString host;new PGStream(host, port)
  • Smart code suggestions by Codota
}
origin: postgresql/postgresql

  tuple = pgStream.ReceiveTupleV2(fields.length, true);
} catch(OutOfMemoryError oome) {
  if (maxRows == 0 || tuples.size() < maxRows) {
  tuple = pgStream.ReceiveTupleV2(fields.length, false);
} catch(OutOfMemoryError oome) {
  if (maxRows == 0 || tuples.size() < maxRows)
origin: org.ancoron.postgresql/org.postgresql

  tuple = pgStream.ReceiveTupleV2(fields.length, true);
} catch(OutOfMemoryError oome) {
  if (maxRows == 0 || tuples.size() < maxRows) {
  tuple = pgStream.ReceiveTupleV2(fields.length, false);
} catch(OutOfMemoryError oome) {
  if (maxRows == 0 || tuples.size() < maxRows)
origin: org.ancoron.postgresql/org.postgresql.osgi

  tuple = pgStream.ReceiveTupleV2(fields.length, true);
} catch(OutOfMemoryError oome) {
  if (maxRows == 0 || tuples.size() < maxRows) {
  tuple = pgStream.ReceiveTupleV2(fields.length, false);
} catch(OutOfMemoryError oome) {
  if (maxRows == 0 || tuples.size() < maxRows)
org.postgresql.corePGStreamReceiveTupleV2

Javadoc

Read a tuple from the back end. A tuple is a two dimensional array of bytes. This variant reads the V2 protocol's tuple representation.

Popular methods of PGStream

  • <init>
    Constructor: Connect to the PostgreSQL back end and return a stream connection.
  • changeSocket
    Switch this stream to using a new socket. Any existing socket is not closed; it's assumed that we ar
  • close
    Closes the connection.
  • flush
    Flush any pending output to the backend.
  • getEncoding
  • getSocket
  • hasMessagePending
    Check for pending backend messages without blocking. Might return false when there actually are mess
  • setEncoding
    Change the encoding used by this connection.
  • Receive
    Reads in a given number of bytes from the backend
  • ReceiveChar
    Receives a single character from the backend
  • ReceiveEOF
    Consume an expected EOF from the backend
  • ReceiveInteger2
    Receives a two byte integer from the backend
  • ReceiveEOF,
  • ReceiveInteger2,
  • ReceiveInteger4,
  • ReceiveString,
  • ReceiveTupleV3,
  • Send,
  • SendChar,
  • SendInteger2,
  • SendInteger4

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • runOnUiThread (Activity)
  • onRequestPermissionsResult (Fragment)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • JTable (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
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