Codota Logo
SimpleQuery.getFields
Code IndexAdd Codota to your IDE (free)

How to use
getFields
method
in
org.postgresql.core.v3.SimpleQuery

Best Java code snippets using org.postgresql.core.v3.SimpleQuery.getFields (Showing top 6 results out of 315)

  • Common ways to obtain SimpleQuery
private void myMethod () {
SimpleQuery s =
  • Codota IconArrayList arrayList;(SimpleQuery) arrayList.get(describePortalIndex++)
  • Codota IconString[] fragments;ProtocolConnectionImpl protoConnection;new SimpleQuery(fragments, protoConnection)
  • Smart code suggestions by Codota
}
origin: org.postgresql/postgresql

private boolean sendAutomaticSavepoint(Query query, int flags) throws IOException {
 if (((flags & QueryExecutor.QUERY_SUPPRESS_BEGIN) == 0
   || getTransactionState() == TransactionState.OPEN)
   && query != restoreToAutoSave
   && getAutoSave() != AutoSave.NEVER
   // If query has no resulting fields, it cannot fail with 'cached plan must not change result type'
   // thus no need to set a safepoint before such query
   && (getAutoSave() == AutoSave.ALWAYS
   // If CompositeQuery is observed, just assume it might fail and set the savepoint
   || !(query instanceof SimpleQuery)
   || ((SimpleQuery) query).getFields() != null)) {
  sendOneQuery(autoSaveQuery, SimpleQuery.NO_PARAMETERS, 1, 0,
    QUERY_NO_RESULTS | QUERY_NO_METADATA
      // PostgreSQL does not support bind, exec, simple, sync message flow,
      // so we force autosavepoint to use simple if the main query is using simple
      | QUERY_EXECUTE_AS_SIMPLE);
  return true;
 }
 return false;
}
origin: org.postgresql/postgresql

 SimpleQuery currentQuery = describeData.query;
 Field[] fields = currentQuery.getFields();
Portal currentPortal = executeData.portal;
Field[] fields = currentQuery.getFields();
if (fields != null && tuples == null) {
Field[] fields = currentQuery.getFields();
if (fields != null && tuples == null) {
origin: org.postgresql/postgresql

Field[] fields = query.getFields();
if (!noBinaryTransfer && query.needUpdateFieldFormats()) {
 for (Field field : fields) {
origin: postgresql/postgresql

SimpleQuery currentQuery = (SimpleQuery)describeData[0];
Field[] fields = currentQuery.getFields();
Portal currentPortal = (Portal)executeData[1];
Field[] fields = currentQuery.getFields();
if (fields != null && !noResults && tuples == null)
  tuples = new Vector();
Portal currentPortal = (Portal)executeData[1];
Field[] fields = currentQuery.getFields();
if (fields != null && !noResults && tuples == null)
  tuples = new Vector();
origin: org.ancoron.postgresql/org.postgresql.osgi

SimpleQuery currentQuery = (SimpleQuery)describeData[0];
Field[] fields = currentQuery.getFields();
Portal currentPortal = (Portal)executeData[1];
Field[] fields = currentQuery.getFields();
if (fields != null && !noResults && tuples == null)
  tuples = new Vector();
Portal currentPortal = (Portal)executeData[1];
Field[] fields = currentQuery.getFields();
if (fields != null && !noResults && tuples == null)
  tuples = new Vector();
origin: org.ancoron.postgresql/org.postgresql

SimpleQuery currentQuery = (SimpleQuery)describeData[0];
Field[] fields = currentQuery.getFields();
Portal currentPortal = (Portal)executeData[1];
Field[] fields = currentQuery.getFields();
if (fields != null && !noResults && tuples == null)
  tuples = new Vector();
Portal currentPortal = (Portal)executeData[1];
Field[] fields = currentQuery.getFields();
if (fields != null && !noResults && tuples == null)
  tuples = new Vector();
org.postgresql.core.v3SimpleQuerygetFields

Javadoc

Returns the fields that this query will return. If the result set fields are not known returns null.

Popular methods of SimpleQuery

  • <init>
  • close
  • createParameterList
  • getEncodedStatementName
  • getStatementName
  • hasUnresolvedTypes
  • isPortalDescribed
  • isPreparedFor
  • isStatementDescribed
  • setCleanupRef
  • setFields
    Sets the fields that this query will return.
  • setPortalDescribed
  • setFields,
  • setPortalDescribed,
  • setStatementDescribed,
  • setStatementName,
  • toString,
  • unprepare,
  • getFragments,
  • getStatementTypes,
  • setStatementTypes

Popular in Java

  • Reading from database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • onCreateOptionsMenu (Activity)
  • startActivity (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
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