public interface BaseStatement extends PGStatement, java.sql.Statement
DATE_NEGATIVE_INFINITY, DATE_NEGATIVE_SMALLER_INFINITY, DATE_POSITIVE_INFINITY, DATE_POSITIVE_SMALLER_INFINITY| Modifier and Type | Method and Description |
|---|---|
java.sql.ResultSet |
createDriverResultSet(Field[] fields,
java.util.List<byte[][]> tuples)
Create a synthetic resultset from data provided by the driver.
|
java.sql.ResultSet |
createResultSet(Query originalQuery,
Field[] fields,
java.util.List<byte[][]> tuples,
ResultCursor cursor)
Create a resultset from data retrieved from the server.
|
boolean |
executeWithFlags(CachedQuery cachedQuery,
int flags)
Execute a query, passing additional query flags.
|
boolean |
executeWithFlags(int flags)
Execute a prepared query, passing additional query flags.
|
boolean |
executeWithFlags(java.lang.String sql,
int flags)
Execute a query, passing additional query flags.
|
getLastOID, getPrepareThreshold, isUseServerPrepare, setPrepareThreshold, setUseServerPrepareaddBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutjava.sql.ResultSet createDriverResultSet(Field[] fields, java.util.List<byte[][]> tuples) throws java.sql.SQLException
fields - the column metadata for the resultsettuples - the resultset datajava.sql.SQLException - if something goes wrongjava.sql.ResultSet createResultSet(Query originalQuery, Field[] fields, java.util.List<byte[][]> tuples, ResultCursor cursor) throws java.sql.SQLException
originalQuery - the query that generated this resultset; used when dealing with updateable
resultsetsfields - the column metadata for the resultsettuples - the resultset datacursor - the cursor to use to retrieve more data from the server; if null, no additional
data is present.java.sql.SQLException - if something goes wrongboolean executeWithFlags(java.lang.String sql,
int flags)
throws java.sql.SQLException
sql - the query to execute (JDBC-style query)flags - additional QueryExecutor flags for execution; these are bitwise-ORed into
the default flags.java.sql.SQLException - if something goes wrong.boolean executeWithFlags(CachedQuery cachedQuery, int flags) throws java.sql.SQLException
cachedQuery - the query to execute (native to PostgreSQL)flags - additional QueryExecutor flags for execution; these are bitwise-ORed into
the default flags.java.sql.SQLException - if something goes wrong.boolean executeWithFlags(int flags)
throws java.sql.SQLException
flags - additional QueryExecutor flags for execution; these are bitwise-ORed into
the default flags.java.sql.SQLException - if something goes wrong.Copyright © 2021 PostgreSQL Global Development Group. All rights reserved.