|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseStatement
Driver-internal statement interface. Application code should not use this interface.
Field Summary |
---|
Fields inherited from interface org.postgresql.PGStatement |
---|
DATE_NEGATIVE_INFINITY, DATE_NEGATIVE_SMALLER_INFINITY, DATE_POSITIVE_INFINITY, DATE_POSITIVE_SMALLER_INFINITY |
Fields inherited from interface java.sql.Statement |
---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
Method Summary | |
---|---|
ResultSet |
createDriverResultSet(Field[] fields,
List<byte[][]> tuples)
Create a synthetic resultset from data provided by the driver. |
ResultSet |
createResultSet(Query originalQuery,
Field[] fields,
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(String p_sql,
int flags)
Execute a query, passing additional query flags. |
Methods inherited from interface org.postgresql.PGStatement |
---|
getLastOID, getPrepareThreshold, isUseServerPrepare, setPrepareThreshold, setUseServerPrepare |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Method Detail |
---|
ResultSet createDriverResultSet(Field[] fields, List<byte[][]> tuples) throws SQLException
fields
- the column metadata for the resultsettuples
- the resultset data
SQLException
- if something goes wrongResultSet createResultSet(Query originalQuery, Field[] fields, List<byte[][]> tuples, ResultCursor cursor) throws 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.
SQLException
- if something goes wrongboolean executeWithFlags(String p_sql, int flags) throws SQLException
p_sql
- the query to execute (JDBC-style query)flags
- additional QueryExecutor
flags for execution; these are bitwise-ORed into
the default flags.
SQLException
- if something goes wrong.boolean executeWithFlags(CachedQuery cachedQuery, int flags) throws SQLException
cachedQuery
- the query to execute (native to PostgreSQL)flags
- additional QueryExecutor
flags for execution; these are bitwise-ORed into
the default flags.
SQLException
- if something goes wrong.boolean executeWithFlags(int flags) throws SQLException
flags
- additional QueryExecutor
flags for execution; these are bitwise-ORed into
the default flags.
SQLException
- if something goes wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |