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

Packages that use Query
Package | Description
--- | ---
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
Modifier and Type | Field and Description
--- | ---
`Query` | CachedQuery.`query`

Methods in com.amazon.redshift.core that return Query
Modifier and Type | Method and Description
--- | ---
`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
Modifier and Type | Method and Description
--- | ---
`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` | ResultHandlerDelegate.`handleResultRows(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor, RedshiftRowsBlockingQueue<Tuple> queueTuples, int[] rowCount, Thread ringBufferThread)`
`void` | ResultHandlerBase.`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
Modifier and Type | Class and Description
--- | ---
`class` | `BatchedQuery` Purpose of this object is to support batched query re write behaviour.

Methods in com.amazon.redshift.core.v3 that return Query
Modifier and Type | Method and Description
--- | ---
`Query` | QueryExecutorImpl.`createSimpleQuery(String sql)`
`Query` | QueryExecutorImpl.`wrap(List<NativeQuery> queries)`

Methods in com.amazon.redshift.core.v3 with parameters of type Query
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 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
Modifier and Type | Field and Description
--- | ---
`protected Query` | RedshiftResultSet.`originalQuery`

Fields in com.amazon.redshift.jdbc with type parameters of type Query
Modifier and Type | Field and Description
--- | ---
`protected ArrayList<Query>` | RedshiftStatementImpl.`batchStatements`

Methods in com.amazon.redshift.jdbc with parameters of type Query
Modifier and Type | Method and Description
--- | ---
`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` | RedshiftResultSet.CursorResultHandler.`handleResultRows(Query fromQuery, 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` | BatchResultHandler.`handleResultRows(Query fromQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor, RedshiftRowsBlockingQueue<Tuple> queueTuples, int[] rowCount, Thread ringBufferThread)`