Uses of Interface
org.postgresql.core.Query
-
Packages that use Query Package Description org.postgresql.core org.postgresql.core.v3 org.postgresql.jdbc -
-
Uses of Query in org.postgresql.core
Fields in org.postgresql.core declared as Query Modifier and Type Field Description Query
CachedQuery. query
Methods in org.postgresql.core that return Query Modifier and Type Method 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.Methods in org.postgresql.core with parameters of type Query Modifier and Type Method 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 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, java.util.List<Tuple> tuples, ResultCursor cursor)
Called when result rows are received from a query.void
ResultHandlerBase. handleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)
void
ResultHandlerDelegate. handleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)
void
SetupQueryRunner.SimpleResultHandler. handleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)
Constructors in org.postgresql.core with parameters of type Query Constructor Description CachedQuery(java.lang.Object key, Query query, boolean isFunction)
-
Uses of Query in org.postgresql.core.v3
Classes in org.postgresql.core.v3 that implement Query Modifier and Type Class Description class
BatchedQuery
Purpose of this object is to support batched query re write behaviour.(package private) class
CompositeQuery
V3 Query implementation for queries that involve multiple statements.(package private) class
SimpleQuery
V3 Query implementation for a single-statement query.Methods in org.postgresql.core.v3 that return Query Modifier and Type Method Description Query
QueryExecutorImpl. createSimpleQuery(java.lang.String sql)
Query[]
CompositeQuery. getSubqueries()
Query
QueryExecutorImpl. wrap(java.util.List<NativeQuery> queries)
Methods in org.postgresql.core.v3 with parameters of type Query Modifier and Type Method 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)
private void
QueryExecutorImpl. flushIfDeadlockRisk(Query query, boolean disallowBatching, ResultHandler resultHandler, BatchResultHandler batchHandler, int flags)
private boolean
QueryExecutorImpl. sendAutomaticSavepoint(Query query, int flags)
private void
QueryExecutorImpl. sendQuery(Query query, V3ParameterList parameters, int maxRows, int fetchSize, int flags, ResultHandler resultHandler, BatchResultHandler batchHandler)
-
Uses of Query in org.postgresql.jdbc
Fields in org.postgresql.jdbc declared as Query Modifier and Type Field Description private Query
PgConnection. commitQuery
protected Query
PgResultSet. originalQuery
private Query[]
BatchResultHandler. queries
private Query
PgConnection. rollbackQuery
Fields in org.postgresql.jdbc with type parameters of type Query Modifier and Type Field Description protected java.util.ArrayList<Query>
PgStatement. batchStatements
Methods in org.postgresql.jdbc with parameters of type Query Modifier and Type Method Description protected BatchResultHandler
PgCallableStatement. createBatchHandler(Query[] queries, ParameterList[] parameterLists)
protected BatchResultHandler
PgStatement. createBatchHandler(Query[] queries, ParameterList[] parameterLists)
java.sql.ResultSet
PgStatement. createResultSet(Query originalQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)
private void
PgConnection. executeTransactionCommand(Query query)
void
BatchResultHandler. handleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)
void
CallableBatchResultHandler. 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
PgStatement.StatementResultHandler. handleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)
Constructors in org.postgresql.jdbc with parameters of type Query Constructor Description BatchResultHandler(PgStatement pgStatement, Query[] queries, ParameterList[] parameterLists, boolean expectGeneratedKeys)
CallableBatchResultHandler(PgStatement statement, Query[] queries, ParameterList[] parameterLists)
PgResultSet(Query originalQuery, BaseStatement statement, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor, int maxRows, int maxFieldSize, int rsType, int rsConcurrency, int rsHoldability)
-