Package org.apache.calcite.avatica.remote
package org.apache.calcite.avatica.remote
JDBC driver that uses remote procedure calls.
-
ClassDescriptionAbstract base class for
Handler
s to extend to inherit functionality common across serialization strategies.A common base class forService
implementations that implement modifications made to response objects.An enumeration for support types of authentication for the HttpServer.A common class to invoke HTTP requests against the Avatica server agnostic of the data being sent and received across the wire.An interface which defines how requests are sent to the Avatica server.A factory for constructingAvaticaHttpClient
's.Default implementation ofAvaticaHttpClientFactory
which chooses an implementation from a property.A common class to invoke HTTP requests against the Avatica server agnostic of the data being sent and received across the wire.Implementation ofConnectionConfig
with extra properties specific to Remote Driver.Enumeration of Avatica remote driver's built-in connection properties.ARuntimeException
thrown by Avatica with additional contextual information about what happened to cause the Exception.Javax Configuration class which always returns a configuration for our keytab-based login suitable for callers which are acting as initiators (e.g.Creates and returns a PoolingHttpClientConnectionManager object.HTTP client implementation which invokes the wrapped HTTP client in a doAs with the provided Subject.Avatica Remote JDBC driver.Defines the method of message serialization used by the DriverInterface that allows configuration of a GSS credential with SPENGO HTTP authentication.Handler<T>API for text request-response calls to an Avatica server.Struct that encapsulates the context of the result of a request to Avatica.Deprecated.Describes the support hostname verification methods ofAvaticaHttpClient
.Allows a http connection pool to be provided to enable TLS authentication.Implementation ofService
that encodes requests and responses as JSON.A utility to perform Kerberos logins and renewals.Deprecated.Implementation ofService
that goes to an in-process instance ofService
.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.Identifies an operation fromDatabaseMetaData
which returns aResultSet
.A utility class to encapsulate common logic in use of metrics implementation.Mock implementation ofService
that encodes its requests and responses as JSON and looks up responses from a pre-defined map.Factory that creates aMockJsonService
.A mock implementation of ProtobufService for testing.A factory that instantiates the mock protobuf service.Dispatches serialized protocol buffer messages to the providedService
by converting them to the POJO Request.An extension ofMeta
which allows for native processing of calls with the Protobuf API objects instead of the POJOS (to avoid object translation).Service implementation that encodes requests and responses as protocol buffers.Generic interface to support parsing of serialized protocol buffers between client and server.Implementation ofProtobufTranslationImpl
that translates protobuf requests to POJO requests.ProtobufService implementation that queries against a remote implementation, using protocol buffers as the serialized form.Implementation ofService
that translates requests into JSON and sends them to a remote server, usually an HTTP server.API for request-response calls to an Avatica server.Base class for request and response.Request forMeta.getCatalogs(Meta.ConnectionHandle)
.Response fromService.CloseConnectionRequest
.Response fromService.CloseStatementRequest
.An RPC request to invoke a commit on a Connection.An RPC response from invoking commit on a Connection.Response fromService.CreateStatementRequest
.Request forMeta.getDatabaseProperties(Meta.ConnectionHandle)
.Response forMeta.getDatabaseProperties(Meta.ConnectionHandle)
.Response for any request that the server failed to successfully perform.Request object to execute a batch of commands.Response object for executing a batch of commands.Response to aService.PrepareAndExecuteRequest
.Factory that creates aService
.Response fromService.FetchRequest
.Response fromService.OpenConnectionRequest
.Request to prepare a statement and execute a series of batch commands in one call.Request forMeta.prepare(Meta.ConnectionHandle, String, long)
.Response fromService.PrepareRequest
.Base class for all service request messages.Base class for all service response messages.Response that contains a result set.An RPC request to invoke a rollback on a Connection.An RPC response from invoking rollback on a Connection.Response that includes information about the server that handled an RPC.Request forService.apply(SyncResultsRequest)
Response forService.apply(SyncResultsRequest)
.Request forMeta.getTableTypes(Meta.ConnectionHandle)
.Request forMeta.getTypeInfo(Meta.ConnectionHandle)
.Deprecated.Value and type.Interface that allows configuration of a username and password with some HTTP authentication.