Uses of Interface
org.postgresql.core.Query
-
Packages that use Query Package Description org.postgresql.core org.postgresql.core.v3 org.postgresql.core.v3.adaptivefetch org.postgresql.jdbc -
-
Uses of Query in org.postgresql.core
Fields in org.postgresql.core declared as Query Modifier and Type Field Description QueryCachedQuery. queryMethods in org.postgresql.core that return Query Modifier and Type Method Description QueryQueryExecutor. 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.QueryQueryExecutor. 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.ResultSetBaseStatement. createResultSet(Query originalQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)Create a resultset from data retrieved from the server.voidQueryExecutor. execute(Query[] queries, ParameterList[] parameterLists, BatchResultHandler handler, int maxRows, int fetchSize, int flags)Execute several Query, passing results to a provided ResultHandler.voidQueryExecutor. 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.voidQueryExecutor. execute(Query query, ParameterList parameters, ResultHandler handler, int maxRows, int fetchSize, int flags)Execute a Query, passing results to a provided ResultHandler.voidQueryExecutor. 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.voidResultHandler. handleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)Called when result rows are received from a query.voidResultHandlerBase. handleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)voidResultHandlerDelegate. handleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)voidSetupQueryRunner.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 classBatchedQueryPurpose of this object is to support batched query re write behaviour.(package private) classCompositeQueryV3 Query implementation for queries that involve multiple statements.(package private) classSimpleQueryV3 Query implementation for a single-statement query.Methods in org.postgresql.core.v3 that return Query Modifier and Type Method Description QueryQueryExecutorImpl. createSimpleQuery(java.lang.String sql)Query[]CompositeQuery. getSubqueries()QueryQueryExecutorImpl. wrap(java.util.List<NativeQuery> queries)Methods in org.postgresql.core.v3 with parameters of type Query Modifier and Type Method Description voidQueryExecutorImpl. execute(Query[] queries, ParameterList[] parameterLists, BatchResultHandler batchHandler, int maxRows, int fetchSize, int flags)voidQueryExecutorImpl. execute(Query[] queries, ParameterList[] parameterLists, BatchResultHandler batchHandler, int maxRows, int fetchSize, int flags, boolean adaptiveFetch)voidQueryExecutorImpl. execute(Query query, ParameterList parameters, ResultHandler handler, int maxRows, int fetchSize, int flags)voidQueryExecutorImpl. execute(Query query, ParameterList parameters, ResultHandler handler, int maxRows, int fetchSize, int flags, boolean adaptiveFetch)private voidQueryExecutorImpl. flushIfDeadlockRisk(Query query, boolean disallowBatching, ResultHandler resultHandler, BatchResultHandler batchHandler, int flags)private booleanQueryExecutorImpl. sendAutomaticSavepoint(Query query, int flags)private voidQueryExecutorImpl. 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 Query Modifier and Type Method Description voidAdaptiveFetchCache. addNewQuery(boolean adaptiveFetch, Query query)Add query to being cached and computing adaptive fetch size.intAdaptiveFetchCache. getFetchSizeForQuery(boolean adaptiveFetch, Query query)Get adaptive fetch size for given query.voidAdaptiveFetchCache. removeQuery(boolean adaptiveFetch, Query query)Remove query information from caching.voidAdaptiveFetchCache. 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 Query Modifier and Type Field Description private QueryPgConnection. commitQueryprotected QueryPgResultSet. originalQueryprivate Query[]BatchResultHandler. queriesprivate QueryPgConnection. rollbackQueryFields in org.postgresql.jdbc with type parameters of type Query Modifier and Type Field Description protected java.util.ArrayList<Query>PgStatement. batchStatementsMethods in org.postgresql.jdbc with parameters of type Query Modifier and Type Method Description protected BatchResultHandlerPgCallableStatement. createBatchHandler(Query[] queries, ParameterList[] parameterLists)protected BatchResultHandlerPgStatement. createBatchHandler(Query[] queries, ParameterList[] parameterLists)java.sql.ResultSetPgStatement. createResultSet(Query originalQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)private voidPgConnection. executeTransactionCommand(Query query)voidBatchResultHandler. handleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)voidCallableBatchResultHandler. handleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)voidPgResultSet.CursorResultHandler. handleResultRows(Query fromQuery, Field[] fields, java.util.List<Tuple> tuples, ResultCursor cursor)voidPgStatement.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, boolean adaptiveFetch)
-