Package | Description |
---|---|
org.postgresql.core | |
org.postgresql.core.v3 | |
org.postgresql.core.v3.adaptivefetch | |
org.postgresql.jdbc |
Modifier and Type | Field and Description |
---|---|
Query |
CachedQuery.query |
Modifier and Type | Method and Description |
---|---|
Query |
QueryExecutor.createSimpleQuery(java.lang.String sql)
Create an unparameterized Query object suitable for execution by this QueryExecutor.
|
Query[] |
Query.getSubqueries()
Return a list of the Query objects that make up this query.
|
Query |
QueryExecutor.wrap(java.util.List<NativeQuery> queries)
Wrap given native query into a ready for execution format.
|
Modifier and Type | Method and Description |
---|---|
java.sql.ResultSet |
BaseStatement.createResultSet(Query originalQuery,
Field[] fields,
java.util.List<Tuple> 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[] queries,
ParameterList[] parameterLists,
BatchResultHandler handler,
int maxRows,
int fetchSize,
int flags,
boolean adaptiveFetch)
Execute several Query with adaptive fetch, 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 |
QueryExecutor.execute(Query query,
ParameterList parameters,
ResultHandler handler,
int maxRows,
int fetchSize,
int flags,
boolean adaptiveFetch)
Execute a Query with adaptive fetch, passing results to a provided ResultHandler.
|
void |
ResultHandlerDelegate.handleResultRows(Query fromQuery,
Field[] fields,
java.util.List<Tuple> tuples,
ResultCursor cursor) |
void |
ResultHandlerBase.handleResultRows(Query fromQuery,
Field[] fields,
java.util.List<Tuple> tuples,
ResultCursor cursor) |
void |
ResultHandler.handleResultRows(Query fromQuery,
Field[] fields,
java.util.List<Tuple> tuples,
ResultCursor cursor)
Called when result rows are received from a query.
|
Constructor and Description |
---|
CachedQuery(java.lang.Object key,
Query query,
boolean isFunction) |
Modifier and Type | Class and Description |
---|---|
class |
BatchedQuery
Purpose of this object is to support batched query re write behaviour.
|
Modifier and Type | Method and Description |
---|---|
Query |
QueryExecutorImpl.createSimpleQuery(java.lang.String sql) |
Query |
QueryExecutorImpl.wrap(java.util.List<NativeQuery> queries) |
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[] queries,
ParameterList[] parameterLists,
BatchResultHandler batchHandler,
int maxRows,
int fetchSize,
int flags,
boolean adaptiveFetch) |
void |
QueryExecutorImpl.execute(Query query,
ParameterList parameters,
ResultHandler handler,
int maxRows,
int fetchSize,
int flags) |
void |
QueryExecutorImpl.execute(Query query,
ParameterList parameters,
ResultHandler handler,
int maxRows,
int fetchSize,
int flags,
boolean adaptiveFetch) |
Modifier and Type | Method and Description |
---|---|
void |
AdaptiveFetchCache.addNewQuery(boolean adaptiveFetch,
Query query)
Add query to being cached and computing adaptive fetch size.
|
int |
AdaptiveFetchCache.getFetchSizeForQuery(boolean adaptiveFetch,
Query query)
Get adaptive fetch size for given query.
|
void |
AdaptiveFetchCache.removeQuery(boolean adaptiveFetch,
Query query)
Remove query information from caching.
|
void |
AdaptiveFetchCache.updateQueryFetchSize(boolean adaptiveFetch,
Query query,
int maximumRowSizeBytes)
Update adaptive fetch size for given query.
|
Modifier and Type | Field and Description |
---|---|
protected Query |
PgResultSet.originalQuery |
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<Query> |
PgStatement.batchStatements |
Modifier and Type | Method and Description |
---|---|
protected BatchResultHandler |
PgStatement.createBatchHandler(Query[] queries,
ParameterList[] parameterLists) |
java.sql.ResultSet |
PgStatement.createResultSet(Query originalQuery,
Field[] fields,
java.util.List<Tuple> tuples,
ResultCursor cursor) |
void |
PgStatement.StatementResultHandler.handleResultRows(Query fromQuery,
Field[] fields,
java.util.List<Tuple> tuples,
ResultCursor cursor) |
void |
PgResultSet.CursorResultHandler.handleResultRows(Query fromQuery,
Field[] fields,
java.util.List<Tuple> tuples,
ResultCursor cursor) |
void |
BatchResultHandler.handleResultRows(Query fromQuery,
Field[] fields,
java.util.List<Tuple> tuples,
ResultCursor cursor) |
Copyright © 2024 PostgreSQL Global Development Group. All rights reserved.