Package | Description |
---|---|
org.apache.calcite.avatica |
Avatica JDBC framework.
|
org.apache.calcite.avatica.remote |
JDBC driver that uses remote procedure calls.
|
org.apache.calcite.avatica.server |
Avatica server that listens for HTTP requests.
|
Modifier and Type | Method and Description |
---|---|
Service |
AvaticaConnection.getService() |
Modifier and Type | Method and Description |
---|---|
void |
AvaticaConnection.setService(Service service) |
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 |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
Service.ExecuteBatchResponse |
Service.PrepareAndExecuteBatchRequest.accept(Service service) |
Service.ExecuteBatchResponse |
Service.ExecuteBatchRequest.accept(Service service) |
Constructor and Description |
---|
AbstractHandler(Service service) |
JsonHandler(Service service,
MetricsSystem metrics) |
LocalJsonService(Service service) |
LocalProtobufService(Service service,
ProtobufTranslation translation) |
ProtobufHandler(Service service,
ProtobufTranslation translation,
MetricsSystem metrics) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.jetty.server.handler.AbstractHandler |
Main.HandlerFactory.createHandler(Service service) |
AvaticaHandler |
HandlerFactory.getHandler(Service service,
Driver.Serialization serialization)
Constructs the desired implementation for the given serialization method with metrics.
|
AvaticaHandler |
HandlerFactory.getHandler(Service service,
Driver.Serialization serialization,
AvaticaServerConfiguration serverConfig)
Constructs the desired implementation for the given serialization method and server
configuration with metrics.
|
AvaticaHandler |
HandlerFactory.getHandler(Service service,
Driver.Serialization serialization,
MetricsSystemConfiguration<?> metricsConfig)
Constructs the desired implementation for the given serialization method with metrics.
|
AvaticaHandler |
HandlerFactory.getHandler(Service service,
Driver.Serialization serialization,
MetricsSystemConfiguration<?> metricsConfig,
AvaticaServerConfiguration serverConfig)
Constructs the desired implementation for the given serialization method and server
configuration with metrics.
|
HttpServer.Builder<T> |
HttpServer.Builder.withHandler(Service service,
Driver.Serialization serialization)
Sets the
Service and Driver.Serialization information necessary to construct
the appropriate AvaticaHandler . |
Constructor and Description |
---|
AvaticaJsonHandler(Service service) |
AvaticaJsonHandler(Service service,
MetricsSystem metrics) |
AvaticaJsonHandler(Service service,
MetricsSystem metrics,
AvaticaServerConfiguration serverConfig) |
AvaticaProtobufHandler(Service service) |
AvaticaProtobufHandler(Service service,
MetricsSystem metrics) |
AvaticaProtobufHandler(Service service,
MetricsSystem metrics,
AvaticaServerConfiguration serverConfig) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.