Tabnine Logo
SimpleQuery.setCleanupRef
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.postgresql/postgresql

private void registerParsedQuery(SimpleQuery query, String statementName) {
 if (statementName == null) {
  return;
 }
 PhantomReference<SimpleQuery> cleanupRef =
   new PhantomReference<SimpleQuery>(query, parsedQueryCleanupQueue);
 parsedQueryMap.put(cleanupRef, statementName);
 query.setCleanupRef(cleanupRef);
}
origin: postgresql/postgresql

private void registerParsedQuery(SimpleQuery query, String statementName) {
  if (statementName == null)
    return ;
  PhantomReference cleanupRef = new PhantomReference(query, parsedQueryCleanupQueue);
  parsedQueryMap.put(cleanupRef, statementName);
  query.setCleanupRef(cleanupRef);
}
origin: org.ancoron.postgresql/org.postgresql.osgi

private void registerParsedQuery(SimpleQuery query, String statementName) {
  if (statementName == null)
    return ;
  PhantomReference cleanupRef = new PhantomReference(query, parsedQueryCleanupQueue);
  parsedQueryMap.put(cleanupRef, statementName);
  query.setCleanupRef(cleanupRef);
}
origin: org.ancoron.postgresql/org.postgresql

private void registerParsedQuery(SimpleQuery query, String statementName) {
  if (statementName == null)
    return ;
  PhantomReference cleanupRef = new PhantomReference(query, parsedQueryCleanupQueue);
  parsedQueryMap.put(cleanupRef, statementName);
  query.setCleanupRef(cleanupRef);
}
org.postgresql.core.v3SimpleQuerysetCleanupRef

Popular methods of SimpleQuery

  • <init>
  • close
  • createParameterList
  • getEncodedStatementName
  • getFields
    Returns the fields that this query will return. If the result set fields are not known returns null.
  • getStatementName
  • hasUnresolvedTypes
  • isPortalDescribed
  • isPreparedFor
  • isStatementDescribed
  • setFields
    Sets the fields that this query will return.
  • setPortalDescribed
  • setFields,
  • setPortalDescribed,
  • setStatementDescribed,
  • setStatementName,
  • toString,
  • unprepare,
  • getFragments,
  • getStatementTypes,
  • setStatementTypes

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • JFileChooser (javax.swing)
  • Top plugins for Android Studio
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