Uses of Interface
org.postgresql.core.Query
Packages that use Query
Package
Description
-
Uses of Query in org.postgresql.core
Fields in org.postgresql.core declared as QueryMethods in org.postgresql.core that return QueryModifier and TypeMethodDescriptionQueryExecutor.createSimpleQuery
(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.QueryExecutor.wrap
(List<NativeQuery> queries) Wrap given native query into a ready for execution format.Methods in org.postgresql.core with parameters of type QueryModifier and TypeMethodDescriptionBaseStatement.createResultSet
(Query originalQuery, Field[] fields, 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
ResultHandler.handleResultRows
(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor) Called when result rows are received from a query.void
ResultHandlerBase.handleResultRows
(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor) void
ResultHandlerDelegate.handleResultRows
(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor) void
SetupQueryRunner.SimpleResultHandler.handleResultRows
(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor) Constructors in org.postgresql.core with parameters of type Query -
Uses of Query in org.postgresql.core.v3
Classes in org.postgresql.core.v3 that implement QueryModifier and TypeClassDescriptionclass
Purpose of this object is to support batched query re write behaviour.(package private) class
V3 Query implementation for queries that involve multiple statements.(package private) class
V3 Query implementation for a single-statement query.Methods in org.postgresql.core.v3 that return QueryModifier and TypeMethodDescriptionQueryExecutorImpl.createSimpleQuery
(String sql) Query[]
CompositeQuery.getSubqueries()
QueryExecutorImpl.wrap
(List<NativeQuery> queries) Methods in org.postgresql.core.v3 with parameters of type QueryModifier and TypeMethodDescriptionvoid
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) 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, boolean adaptiveFetch) -
Uses of Query in org.postgresql.core.v3.adaptivefetch
Methods in org.postgresql.core.v3.adaptivefetch with parameters of type QueryModifier and TypeMethodDescriptionvoid
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. -
Uses of Query in org.postgresql.jdbc
Fields in org.postgresql.jdbc declared as QueryModifier and TypeFieldDescriptionprivate final Query
PgConnection.commitQuery
protected final Query
PgResultSet.originalQuery
private final Query[]
BatchResultHandler.queries
private final Query
PgConnection.rollbackQuery
Fields in org.postgresql.jdbc with type parameters of type QueryMethods in org.postgresql.jdbc with parameters of type QueryModifier and TypeMethodDescriptionprotected BatchResultHandler
PgCallableStatement.createBatchHandler
(Query[] queries, ParameterList[] parameterLists) protected BatchResultHandler
PgStatement.createBatchHandler
(Query[] queries, ParameterList[] parameterLists) PgStatement.createResultSet
(Query originalQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor) private void
PgConnection.executeTransactionCommand
(Query query) void
BatchResultHandler.handleResultRows
(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor) void
CallableBatchResultHandler.handleResultRows
(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor) void
PgResultSet.CursorResultHandler.handleResultRows
(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor) void
PgStatement.StatementResultHandler.handleResultRows
(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor) Constructors in org.postgresql.jdbc with parameters of type QueryModifierConstructorDescription(package private)
BatchResultHandler
(PgStatement pgStatement, Query[] queries, ParameterList[] parameterLists, boolean expectGeneratedKeys) (package private)
CallableBatchResultHandler
(PgStatement statement, Query[] queries, ParameterList[] parameterLists) (package private)
PgResultSet
(Query originalQuery, BaseStatement statement, Field[] fields, List<Tuple> tuples, ResultCursor cursor, int maxRows, int maxFieldSize, int rsType, int rsConcurrency, int rsHoldability, boolean adaptiveFetch)