## Uses of Interface
com.amazon.redshift.core.Query

Packages that use Query
com.amazon.redshift.core
com.amazon.redshift.core.v3
com.amazon.redshift.jdbc

### Uses of Query in com.amazon.redshift.core

Fields in com.amazon.redshift.core declared as Query
`Query` CachedQuery.`query`

Methods in com.amazon.redshift.core that return Query
`Query` QueryExecutor.`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.
`Query` QueryExecutor.`wrap(List<NativeQuery> queries)` Wrap given native query into a ready for execution format.

Methods in com.amazon.redshift.core with parameters of type Query
`ResultSet` BaseStatement.`createResultSet(Query originalQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor, RedshiftRowsBlockingQueue<Tuple> queueTuples, int[] rowCount, Thread ringBufferThread)` 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<Tuple> tuples, ResultCursor cursor, RedshiftRowsBlockingQueue<Tuple> queueTuples, int[] rowCount, Thread ringBufferThread)` Called when result rows are received from a query.
`void` ResultHandlerBase.`handleResultRows(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor, RedshiftRowsBlockingQueue<Tuple> queueTuples, int[] rowCount, Thread ringBufferThread)`
`void` ResultHandlerDelegate.`handleResultRows(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor, RedshiftRowsBlockingQueue<Tuple> queueTuples, int[] rowCount, Thread ringBufferThread)`

Constructors in com.amazon.redshift.core with parameters of type Query
Constructor and Description
`CachedQuery(Object key, Query query, boolean isFunction)`

### Uses of Query in com.amazon.redshift.core.v3

Classes in com.amazon.redshift.core.v3 that implement Query
`class` `BatchedQuery` Purpose of this object is to support batched query re write behaviour.

Methods in com.amazon.redshift.core.v3 that return Query
`Query` QueryExecutorImpl.`createSimpleQuery(String sql)`
`Query` QueryExecutorImpl.`wrap(List<NativeQuery> queries)`

Methods in com.amazon.redshift.core.v3 with parameters of type Query
`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)`

### Uses of Query in com.amazon.redshift.jdbc

Fields in com.amazon.redshift.jdbc declared as Query
`protected Query` RedshiftResultSet.`originalQuery`

Fields in com.amazon.redshift.jdbc with type parameters of type Query
`protected ArrayList<Query>` RedshiftStatementImpl.`batchStatements`

Methods in com.amazon.redshift.jdbc with parameters of type Query
`protected BatchResultHandler` RedshiftStatementImpl.`createBatchHandler(Query[] queries, ParameterList[] parameterLists)`
`protected BatchResultHandler` RedshiftCallableStatement.`createBatchHandler(Query[] queries, ParameterList[] parameterLists)`
`ResultSet` RedshiftStatementImpl.`createResultSet(Query originalQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor, RedshiftRowsBlockingQueue<Tuple> queueTuples, int[] rowCount, Thread ringBufferThread)`
`void` RedshiftStatementImpl.StatementResultHandler.`handleResultRows(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor, RedshiftRowsBlockingQueue<Tuple> queueTuples, int[] rowCount, Thread ringBufferThread)`
`void` RedshiftResultSet.CursorResultHandler.`handleResultRows(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor, RedshiftRowsBlockingQueue<Tuple> queueTuples, int[] rowCount, Thread ringBufferThread)`
`void` BatchResultHandler.`handleResultRows(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor, RedshiftRowsBlockingQueue<Tuple> queueTuples, int[] rowCount, Thread ringBufferThread)`