## Uses of Class
org.apache.calcite.avatica.QueryState

Packages that use QueryState
Package | Description
--- | ---
org.apache.calcite.avatica | Avatica JDBC framework.
org.apache.calcite.avatica.remote | JDBC driver that uses remote procedure calls.

### Uses of QueryState in org.apache.calcite.avatica

Fields in org.apache.calcite.avatica declared as QueryState
Modifier and Type | Field and Description
--- | ---
`private QueryState` | MetaImpl.FetchIterable.`state`
`private QueryState` | MetaImpl.FetchIterator.`state`
`protected QueryState` | AvaticaResultSet.`state`

Methods in org.apache.calcite.avatica that return QueryState
Modifier and Type | Method and Description
--- | ---
`static QueryState` | QueryState.`fromProto(Common.QueryState protoState)`

Methods in org.apache.calcite.avatica with parameters of type QueryState
Modifier and Type | Method and Description
--- | ---
`Iterable<Object>` | Meta.`createIterable(Meta.StatementHandle stmt, QueryState state, Meta.Signature signature, List<TypedValue> parameterValues, Meta.Frame firstFrame)` Creates an iterable for a result set.
`Iterable<Object>` | MetaImpl.`createIterable(Meta.StatementHandle handle, QueryState state, Meta.Signature signature, List<TypedValue> parameterValues, Meta.Frame firstFrame)`
`protected ResultSet` | AvaticaConnection.`createResultSet(Meta.MetaResultSet metaResultSet, QueryState state)`
`protected ResultSet` | AvaticaConnection.`executeQueryInternal(AvaticaStatement statement, Meta.Signature signature, Meta.Frame firstFrame, QueryState state, boolean isUpdate)` Executes a prepared query, closing any previously open result set.
`AvaticaResultSet` | AvaticaJdbc41Factory.`newResultSet(AvaticaStatement statement, QueryState state, Meta.Signature signature, TimeZone timeZone, Meta.Frame firstFrame)`
`AvaticaResultSet` | AvaticaFactory.`newResultSet(AvaticaStatement statement, QueryState state, Meta.Signature signature, TimeZone timeZone, Meta.Frame firstFrame)` Creates a result set.
`boolean` | Meta.`syncResults(Meta.StatementHandle sh, QueryState state, long offset)` Re-sets the `ResultSet` on a Statement.
`protected boolean` | AvaticaStatement.`syncResults(QueryState state, long offset)` Re-initialize the ResultSet on the server with the given state.

Constructors in org.apache.calcite.avatica with parameters of type QueryState
Constructor and Description
`AvaticaResultSet(AvaticaStatement statement, QueryState state, Meta.Signature signature, ResultSetMetaData resultSetMetaData, TimeZone timeZone, Meta.Frame firstFrame)` Creates an `AvaticaResultSet`.
`MetaImpl.FetchIterable(AvaticaStatement stmt, QueryState state, Meta.Frame firstFrame, List<TypedValue> parameterValues)`
`MetaImpl.FetchIterator(AvaticaStatement stmt, QueryState state, Meta.Frame firstFrame, List<TypedValue> parameterValues)`

### Uses of QueryState in org.apache.calcite.avatica.remote

Fields in org.apache.calcite.avatica.remote declared as QueryState
Modifier and Type | Field and Description
--- | ---
`QueryState` | Service.SyncResultsRequest.`state`

Methods in org.apache.calcite.avatica.remote with parameters of type QueryState
Modifier and Type | Method and Description
--- | ---
`boolean` | RemoteMeta.`syncResults(Meta.StatementHandle h, QueryState state, long offset)`

Constructors in org.apache.calcite.avatica.remote with parameters of type QueryState
Constructor and Description
`Service.SyncResultsRequest(String connectionId, int statementId, QueryState state, long offset)`