## Uses of Class
com.amazon.redshift.core.CachedQuery

Packages that use CachedQuery
Package | Description
--- | ---
com.amazon.redshift.core |
com.amazon.redshift.jdbc |

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

Methods in com.amazon.redshift.core that return CachedQuery
Modifier and Type | Method and Description
--- | ---
`CachedQuery` | QueryExecutorBase.`borrowCallableQuery(String sql)`
`CachedQuery` | QueryExecutor.`borrowCallableQuery(String sql)`
`CachedQuery` | QueryExecutorBase.`borrowQuery(String sql)`
`CachedQuery` | QueryExecutor.`borrowQuery(String sql)`
`CachedQuery` | QueryExecutorBase.`borrowQueryByKey(Object key)`
`CachedQuery` | QueryExecutor.`borrowQueryByKey(Object key)`
`CachedQuery` | QueryExecutorBase.`borrowReturningQuery(String sql, String[] columnNames)`
`CachedQuery` | QueryExecutor.`borrowReturningQuery(String sql, String[] columnNames)`
`CachedQuery` | QueryExecutorBase.`createQuery(String sql, boolean escapeProcessing, boolean isParameterized, String... columnNames)`
`CachedQuery` | QueryExecutor.`createQuery(String sql, boolean escapeProcessing, boolean isParameterized, String... columnNames)`
`CachedQuery` | BaseConnection.`createQuery(String sql, boolean escapeProcessing, boolean isParameterized, String... columnNames)`
`CachedQuery` | QueryExecutorBase.`createQueryByKey(Object key)`
`CachedQuery` | QueryExecutor.`createQueryByKey(Object key)`

Methods in com.amazon.redshift.core with parameters of type CachedQuery
Modifier and Type | Method and Description
--- | ---
`boolean` | BaseStatement.`executeWithFlags(CachedQuery cachedQuery, int flags)` Execute a query, passing additional query flags.
`void` | QueryExecutorBase.`releaseQuery(CachedQuery cachedQuery)`
`void` | QueryExecutor.`releaseQuery(CachedQuery cachedQuery)`

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

Fields in com.amazon.redshift.jdbc declared as CachedQuery
Modifier and Type | Field and Description
--- | ---
`protected CachedQuery` | RedshiftPreparedStatement.`preparedQuery`

Methods in com.amazon.redshift.jdbc that return CachedQuery
Modifier and Type | Method and Description
--- | ---
`CachedQuery` | RedshiftConnectionImpl.`createQuery(String sql, boolean escapeProcessing, boolean isParameterized, String... columnNames)`

Methods in com.amazon.redshift.jdbc with parameters of type CachedQuery
Modifier and Type | Method and Description
--- | ---
`protected void` | RedshiftStatementImpl.`execute(CachedQuery cachedQuery, ParameterList queryParameters, int flags)`
`boolean` | RedshiftStatementImpl.`executeWithFlags(CachedQuery simpleQuery, int flags)`
`protected boolean` | RedshiftPreparedStatement.`isOneShotQuery(CachedQuery cachedQuery)`
`protected boolean` | RedshiftStatementImpl.`isOneShotQuery(CachedQuery cachedQuery)` Returns true if query is unlikely to be reused.