| Package | Description |
|---|---|
| org.apache.calcite.avatica.remote |
JDBC driver that uses remote procedure calls.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractService
A common base class for
Service implementations that implement
modifications made to response objects. |
class |
JsonService
Implementation of
Service
that encodes requests and responses as JSON. |
class |
LocalJsonService
Implementation of
Service
that goes to an in-process instance of Service. |
class |
LocalProtobufService
A Service implementation that performs protocol buffer serialization on request and responses
on either side of computing a response from a request to mimic some transport to a server which
would normally perform such computation.
|
class |
LocalService
|
class |
MockJsonService
Mock implementation of
Service
that encodes its requests and responses as JSON
and looks up responses from a pre-defined map. |
class |
MockProtobufService
A mock implementation of ProtobufService for testing.
|
class |
ProtobufService
Service implementation that encodes requests and responses as protocol buffers.
|
class |
RemoteProtobufService
ProtobufService implementation that queries against a remote implementation, using
protocol buffers as the serialized form.
|
class |
RemoteService
Implementation of
Service
that translates requests into JSON and sends them to a remote server,
usually an HTTP server. |
| Modifier and Type | Field and Description |
|---|---|
private Service |
LocalJsonService.service |
private Service |
LocalProtobufService.service |
(package private) Service |
RemoteMeta.service |
protected Service |
AbstractHandler.service |
| Modifier and Type | Method and Description |
|---|---|
Service |
Service.Factory.create(AvaticaConnection connection) |
Service |
MockProtobufService.MockProtobufServiceFactory.create(AvaticaConnection connection) |
Service |
MockJsonService.Factory.create(AvaticaConnection connection) |
(package private) Service |
Driver.createService(AvaticaConnection connection,
ConnectionConfig config)
Creates a
Service with the given AvaticaConnection and configuration. |
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract Service.Response |
Service.Request.accept(Service service) |
(package private) Service.ResultSetResponse |
Service.CatalogsRequest.accept(Service service) |
(package private) Service.DatabasePropertyResponse |
Service.DatabasePropertyRequest.accept(Service service) |
(package private) Service.ResultSetResponse |
Service.SchemasRequest.accept(Service service) |
(package private) Service.Response |
Service.TablesRequest.accept(Service service) |
(package private) Service.ResultSetResponse |
Service.TableTypesRequest.accept(Service service) |
(package private) Service.ResultSetResponse |
Service.ColumnsRequest.accept(Service service) |
(package private) Service.ResultSetResponse |
Service.TypeInfoRequest.accept(Service service) |
(package private) Service.ExecuteResponse |
Service.PrepareAndExecuteRequest.accept(Service service) |
(package private) Service.ExecuteResponse |
Service.ExecuteRequest.accept(Service service) |
(package private) Service.PrepareResponse |
Service.PrepareRequest.accept(Service service) |
(package private) Service.FetchResponse |
Service.FetchRequest.accept(Service service) |
(package private) Service.CreateStatementResponse |
Service.CreateStatementRequest.accept(Service service) |
(package private) Service.CloseStatementResponse |
Service.CloseStatementRequest.accept(Service service) |
(package private) Service.OpenConnectionResponse |
Service.OpenConnectionRequest.accept(Service service) |
(package private) Service.CloseConnectionResponse |
Service.CloseConnectionRequest.accept(Service service) |
(package private) Service.ConnectionSyncResponse |
Service.ConnectionSyncRequest.accept(Service service) |
(package private) Service.SyncResultsResponse |
Service.SyncResultsRequest.accept(Service service) |
(package private) Service.CommitResponse |
Service.CommitRequest.accept(Service service) |
(package private) Service.RollbackResponse |
Service.RollbackRequest.accept(Service service) |
| Constructor and Description |
|---|
AbstractHandler(Service service) |
JsonHandler(Service service) |
LocalJsonService(Service service) |
LocalProtobufService(Service service,
ProtobufTranslation translation) |
ProtobufHandler(Service service,
ProtobufTranslation translation) |
RemoteMeta(AvaticaConnection connection,
Service service) |
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.