| Package | Description |
|---|---|
| org.apache.calcite.avatica.remote |
JDBC driver that uses remote procedure calls.
|
| Modifier and Type | Field and Description |
|---|---|
private Service.Request |
RequestTranslator.impl |
| Modifier and Type | Field and Description |
|---|---|
private Map<Service.Request,Service.Response> |
MockProtobufService.mapping |
| Modifier and Type | Method and Description |
|---|---|
(package private) Service.Request |
ProtobufHandler.decode(byte[] serializedRequest) |
(package private) Service.Request |
JsonHandler.decode(String request) |
(package private) abstract Service.Request |
AbstractHandler.decode(T serializedRequest) |
(package private) abstract Service.Request |
Service.Request.deserialize(com.google.protobuf.Message genericMsg) |
(package private) Service.Request |
Service.TablesRequest.deserialize(com.google.protobuf.Message genericMsg) |
(package private) Service.Request |
Service.OpenConnectionRequest.deserialize(com.google.protobuf.Message genericMsg) |
(package private) Service.Request |
Service.SyncResultsRequest.deserialize(com.google.protobuf.Message genericMsg) |
Service.Request |
ProtobufTranslation.parseRequest(byte[] bytes)
Parses a serialized protocol buffer request into a
Service.Request. |
Service.Request |
ProtobufTranslationImpl.parseRequest(byte[] bytes) |
Service.Request |
RequestTranslator.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 |
|---|---|
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 |
LocalProtobufService._apply(Service.Request request) |
Service.Response |
MockProtobufService._apply(Service.Request request) |
Service.Response |
RemoteProtobufService._apply(Service.Request request) |
private Service.Response |
MockProtobufService.dispatch(Service.Request request)
Fetches the static response for the given request.
|
byte[] |
ProtobufTranslation.serializeRequest(Service.Request request)
Serializes a
Service.Request as a protocol buffer. |
byte[] |
ProtobufTranslationImpl.serializeRequest(Service.Request request) |
| Constructor and Description |
|---|
RequestTranslator(com.google.protobuf.Parser<? extends com.google.protobuf.Message> parser,
Service.Request impl) |
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.