| Package | Description |
|---|---|
| org.apache.calcite.avatica |
Avatica JDBC framework.
|
| org.apache.calcite.avatica.remote |
JDBC driver that uses remote procedure calls.
|
| Modifier and Type | Field and Description |
|---|---|
private Meta.StatementHandle |
MissingResultsException.handle |
Meta.StatementHandle |
AvaticaStatement.handle
Statement id; unique within connection.
|
private Meta.StatementHandle |
NoSuchStatementException.stmtHandle |
| Modifier and Type | Method and Description |
|---|---|
Meta.StatementHandle |
Meta.createStatement(Meta.ConnectionHandle ch)
Called during the creation of a statement to allocate a new handle.
|
Meta.StatementHandle |
MetaImpl.createStatement(Meta.ConnectionHandle ch) |
static Meta.StatementHandle |
Meta.StatementHandle.fromProto(Common.StatementHandle protoHandle) |
Meta.StatementHandle |
MissingResultsException.getHandle() |
Meta.StatementHandle |
NoSuchStatementException.getStatementHandle() |
Meta.StatementHandle |
Meta.prepare(Meta.ConnectionHandle ch,
String sql,
long maxRowCount)
Prepares a statement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Meta.closeStatement(Meta.StatementHandle h)
Closes a statement.
|
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) |
Meta.ExecuteResult |
Meta.execute(Meta.StatementHandle h,
List<TypedValue> parameterValues,
long maxRowCount)
Executes a prepared statement.
|
Meta.Frame |
Meta.fetch(Meta.StatementHandle h,
long offset,
int fetchMaxRowCount)
Returns a frame of rows.
|
protected AvaticaStatement |
AvaticaConnection.lookupStatement(Meta.StatementHandle h)
Creates a statement wrapper around an existing handle.
|
AvaticaPreparedStatement |
AvaticaJdbc41Factory.newPreparedStatement(AvaticaConnection connection,
Meta.StatementHandle h,
Meta.Signature signature,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
AvaticaPreparedStatement |
AvaticaFactory.newPreparedStatement(AvaticaConnection connection,
Meta.StatementHandle h,
Meta.Signature signature,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
AvaticaStatement |
AvaticaJdbc41Factory.newStatement(AvaticaConnection connection,
Meta.StatementHandle h,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
AvaticaStatement |
AvaticaFactory.newStatement(AvaticaConnection connection,
Meta.StatementHandle h,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
Meta.ExecuteResult |
Meta.prepareAndExecute(Meta.StatementHandle h,
String sql,
long maxRowCount,
Meta.PrepareCallback callback)
Prepares and executes a statement.
|
boolean |
Meta.syncResults(Meta.StatementHandle sh,
QueryState state,
long offset)
Re-set the
ResultSet on a Statement. |
| Constructor and Description |
|---|
AvaticaJdbc41Factory.AvaticaJdbc41PreparedStatement(AvaticaConnection connection,
Meta.StatementHandle h,
Meta.Signature signature,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
AvaticaJdbc41Factory.AvaticaJdbc41Statement(AvaticaConnection connection,
Meta.StatementHandle h,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
AvaticaPreparedStatement(AvaticaConnection connection,
Meta.StatementHandle h,
Meta.Signature signature,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Creates an AvaticaPreparedStatement.
|
AvaticaStatement(AvaticaConnection connection,
Meta.StatementHandle h,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Creates an AvaticaStatement.
|
AvaticaStatement(AvaticaConnection connection,
Meta.StatementHandle h,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability,
Meta.Signature signature) |
MissingResultsException(Meta.StatementHandle handle) |
NoSuchStatementException(Meta.StatementHandle stmtHandle) |
| Modifier and Type | Field and Description |
|---|---|
Meta.StatementHandle |
Service.PrepareResponse.statement |
Meta.StatementHandle |
Service.ExecuteRequest.statementHandle |
| Modifier and Type | Method and Description |
|---|---|
Meta.StatementHandle |
RemoteMeta.createStatement(Meta.ConnectionHandle ch) |
(package private) Meta.StatementHandle |
AbstractService.finagle(Meta.StatementHandle h) |
Meta.StatementHandle |
RemoteMeta.prepare(Meta.ConnectionHandle ch,
String sql,
long maxRowCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteMeta.closeStatement(Meta.StatementHandle h) |
Meta.ExecuteResult |
RemoteMeta.execute(Meta.StatementHandle h,
List<TypedValue> parameterValues,
long maxRowCount) |
Meta.Frame |
RemoteMeta.fetch(Meta.StatementHandle h,
long offset,
int fetchMaxRowCount) |
(package private) Meta.StatementHandle |
AbstractService.finagle(Meta.StatementHandle h) |
Meta.ExecuteResult |
RemoteMeta.prepareAndExecute(Meta.StatementHandle h,
String sql,
long maxRowCount,
Meta.PrepareCallback callback) |
boolean |
RemoteMeta.syncResults(Meta.StatementHandle h,
QueryState state,
long offset) |
| Constructor and Description |
|---|
Service.ExecuteRequest(Meta.StatementHandle statementHandle,
List<TypedValue> parameterValues,
long maxRowCount) |
Service.PrepareResponse(Meta.StatementHandle statement,
Service.RpcMetadataResponse rpcMetadata) |
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.