Package | Description |
---|---|
org.postgresql.core | |
org.postgresql.core.v2 | |
org.postgresql.core.v3 | |
org.postgresql.jdbc |
Modifier and Type | Field and Description |
---|---|
Query |
CachedQuery.query |
Modifier and Type | Method and Description |
---|---|
Query |
QueryExecutor.createParameterizedQuery(String sql,
boolean autocommit)
Create a parameterized Query object suitable for execution by this QueryExecutor.
|
Query |
QueryExecutor.createSimpleQuery(String sql,
boolean autocommit)
Create an unparameterized Query object suitable for execution by this QueryExecutor.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
BaseStatement.createResultSet(Query originalQuery,
Field[] fields,
List<byte[][]> tuples,
ResultCursor cursor)
Create a resultset from data retrieved from the server.
|
void |
QueryExecutor.execute(Query[] queries,
ParameterList[] parameterLists,
BatchResultHandler handler,
int maxRows,
int fetchSize,
int flags)
Execute several Query, passing results to a provided ResultHandler.
|
void |
QueryExecutor.execute(Query query,
ParameterList parameters,
ResultHandler handler,
int maxRows,
int fetchSize,
int flags)
Execute a Query, passing results to a provided ResultHandler.
|
void |
ResultHandler.handleResultRows(Query fromQuery,
Field[] fields,
List<byte[][]> tuples,
ResultCursor cursor)
Called when result rows are received from a query.
|
Constructor and Description |
---|
CachedQuery(Object key,
Query query,
boolean isFunction,
boolean outParmBeforeFunc) |
Modifier and Type | Method and Description |
---|---|
Query |
QueryExecutorImpl.createParameterizedQuery(String sql,
boolean autocommit) |
Query |
QueryExecutorImpl.createSimpleQuery(String sql,
boolean autocommit) |
Modifier and Type | Method and Description |
---|---|
void |
QueryExecutorImpl.execute(Query[] queries,
ParameterList[] parameters,
BatchResultHandler batchHandler,
int maxRows,
int fetchSize,
int flags) |
void |
QueryExecutorImpl.execute(Query query,
ParameterList parameters,
ResultHandler handler,
int maxRows,
int fetchSize,
int flags) |
protected void |
QueryExecutorImpl.processResults(Query originalQuery,
ResultHandler handler,
int maxRows,
int flags) |
Modifier and Type | Method and Description |
---|---|
Query |
QueryExecutorImpl.createParameterizedQuery(String sql,
boolean autocommit) |
Query |
QueryExecutorImpl.createSimpleQuery(String sql,
boolean autocommit) |
Modifier and Type | Method and Description |
---|---|
void |
QueryExecutorImpl.execute(Query[] queries,
ParameterList[] parameterLists,
BatchResultHandler batchHandler,
int maxRows,
int fetchSize,
int flags) |
void |
QueryExecutorImpl.execute(Query query,
ParameterList parameters,
ResultHandler handler,
int maxRows,
int fetchSize,
int flags) |
Modifier and Type | Field and Description |
---|---|
protected Query |
PgStatement.lastSimpleQuery |
protected Query |
PgResultSet.originalQuery |
Modifier and Type | Field and Description |
---|---|
protected ArrayList<Query> |
PgStatement.batchStatements |
Modifier and Type | Method and Description |
---|---|
protected BatchResultHandler |
PgStatement.createBatchHandler(Query[] queries,
ParameterList[] parameterLists) |
ResultSet |
PgStatement.createResultSet(Query originalQuery,
Field[] fields,
List<byte[][]> tuples,
ResultCursor cursor) |
protected void |
PgStatement.execute(Query queryToExecute,
ParameterList queryParameters,
int flags) |
void |
PgStatement.StatementResultHandler.handleResultRows(Query fromQuery,
Field[] fields,
List<byte[][]> tuples,
ResultCursor cursor) |
void |
PgResultSet.CursorResultHandler.handleResultRows(Query fromQuery,
Field[] fields,
List<byte[][]> tuples,
ResultCursor cursor) |
void |
BatchResultHandler.handleResultRows(Query fromQuery,
Field[] fields,
List<byte[][]> tuples,
ResultCursor cursor) |
protected boolean |
PgStatement.isOneShotQuery(Query query)
Returns true if query is unlikely to be reused
|
Copyright © 2016 PostgreSQL Global Development Group. All rights reserved.