| Package | Description |
|---|---|
| org.apache.calcite.avatica.remote |
JDBC driver that uses remote procedure calls.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Service.CloseConnectionResponse
Response from
Service.CloseConnectionRequest. |
static class |
Service.CloseStatementResponse
Response from
Service.CloseStatementRequest. |
static class |
Service.CommitResponse
An RPC response from invoking commit on a Connection.
|
static class |
Service.ConnectionSyncResponse
|
static class |
Service.CreateStatementResponse
Response from
Service.CreateStatementRequest. |
static class |
Service.DatabasePropertyResponse
Response for
Meta.getDatabaseProperties(Meta.ConnectionHandle). |
static class |
Service.ErrorResponse
Response for any request that the server failed to successfully perform.
|
static class |
Service.ExecuteBatchResponse
Response object for executing a batch of commands.
|
static class |
Service.ExecuteResponse
Response to a
Service.PrepareAndExecuteRequest. |
static class |
Service.FetchResponse
Response from
Service.FetchRequest. |
static class |
Service.OpenConnectionResponse
Response from
Service.OpenConnectionRequest. |
static class |
Service.PrepareResponse
Response from
Service.PrepareRequest. |
static class |
Service.ResultSetResponse
Response that contains a result set.
|
static class |
Service.RollbackResponse
An RPC response from invoking rollback on a Connection.
|
static class |
Service.RpcMetadataResponse
Response that includes information about the server that handled an RPC.
|
static class |
Service.SyncResultsResponse
Response for
Service.apply(SyncResultsRequest). |
| Modifier and Type | Field and Description |
|---|---|
private Service.Response |
ResponseTranslator.impl |
| Modifier and Type | Field and Description |
|---|---|
private Map<Service.Request,Service.Response> |
MockProtobufService.mapping |
| Modifier and Type | Method and Description |
|---|---|
Service.Response |
RemoteProtobufService._apply(Service.Request request) |
abstract Service.Response |
ProtobufService._apply(Service.Request request)
Derived class should implement this method to transport requests and
responses to and from the peer service.
|
Service.Response |
MockProtobufService._apply(Service.Request request) |
Service.Response |
LocalProtobufService._apply(Service.Request request) |
(package private) abstract Service.Response |
Service.Request.accept(Service service) |
(package private) Service.Response |
Service.TablesRequest.accept(Service service) |
(package private) abstract Service.Response |
Service.Response.deserialize(com.google.protobuf.Message genericMsg) |
private Service.Response |
MockProtobufService.dispatch(Service.Request request)
Fetches the static response for the given request.
|
Service.Response |
ProtobufTranslation.parseResponse(byte[] bytes)
Parses a serialized protocol buffer response into a
Service.Response. |
Service.Response |
ProtobufTranslationImpl.parseResponse(byte[] bytes) |
Service.Response |
ResponseTranslator.transform(com.google.protobuf.ByteString serializedMessage) |
| Modifier and Type | Method and Description |
|---|---|
private Map<Service.Request,Service.Response> |
MockProtobufService.createMapping() |
| Modifier and Type | Method and Description |
|---|---|
(package private) byte[] |
ProtobufHandler.encode(Service.Response response) |
(package private) String |
JsonHandler.encode(Service.Response response)
Serializes the provided object as JSON.
|
(package private) abstract T |
AbstractHandler.encode(Service.Response response)
Serialize the given
Service.Response per the concrete Handler implementation. |
byte[] |
ProtobufTranslation.serializeResponse(Service.Response response)
Serializes a
Service.Response as a protocol buffer. |
byte[] |
ProtobufTranslationImpl.serializeResponse(Service.Response response) |
| Constructor and Description |
|---|
ResponseTranslator(com.google.protobuf.Parser<? extends com.google.protobuf.Message> parser,
Service.Response impl) |
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.