| Package | Description |
|---|---|
| org.apache.calcite.avatica.remote |
JDBC driver that uses remote procedure calls.
|
| 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 |
|---|---|
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) |
(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) String |
JsonHandler.encode(Service.Response response)
Serializes the provided object as JSON.
|
(package private) byte[] |
ProtobufHandler.encode(Service.Response response) |
(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–2016 The Apache Software Foundation. All rights reserved.