Interface Service
- All Known Implementing Classes:
AbstractService
,JsonService
,LocalJsonService
,LocalProtobufService
,LocalService
,MockJsonService
,MockProtobufService
,ProtobufService
,RemoteProtobufService
,RemoteService
public interface Service
API for request-response calls to an Avatica server.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Base class for request and response.static class
Request forMeta.getCatalogs(Meta.ConnectionHandle)
.static class
static class
Response fromService.CloseConnectionRequest
.static class
static class
Response fromService.CloseStatementRequest
.static class
static class
An RPC request to invoke a commit on a Connection.static class
An RPC response from invoking commit on a Connection.static class
static class
static class
static class
Response fromService.CreateStatementRequest
.static class
Request forMeta.getDatabaseProperties(Meta.ConnectionHandle)
.static class
Response forMeta.getDatabaseProperties(Meta.ConnectionHandle)
.static class
Response for any request that the server failed to successfully perform.static class
Request object to execute a batch of commands.static class
Response object for executing a batch of commands.static class
static class
Response to aService.PrepareAndExecuteRequest
.static interface
Factory that creates aService
.static class
static class
Response fromService.FetchRequest
.static class
static class
Response fromService.OpenConnectionRequest
.static class
Request to prepare a statement and execute a series of batch commands in one call.static class
static class
Request forMeta.prepare(Meta.ConnectionHandle, String, long)
.static class
Response fromService.PrepareRequest
.static class
Base class for all service request messages.static class
Base class for all service response messages.static class
Response that contains a result set.static class
An RPC request to invoke a rollback on a Connection.static class
An RPC response from invoking rollback on a Connection.static class
Response that includes information about the server that handled an RPC.static class
static class
Request forapply(SyncResultsRequest)
static class
Response forapply(SyncResultsRequest)
.static class
static class
Request forMeta.getTableTypes(Meta.ConnectionHandle)
.static class
Request forMeta.getTypeInfo(Meta.ConnectionHandle)
. -
Method Summary
Modifier and TypeMethodDescriptionapply
(Service.CatalogsRequest request) apply
(Service.CloseConnectionRequest request) apply
(Service.CloseStatementRequest request) apply
(Service.ColumnsRequest request) apply
(Service.CommitRequest request) apply
(Service.ConnectionSyncRequest request) apply
(Service.CreateStatementRequest request) apply
(Service.DatabasePropertyRequest request) apply
(Service.ExecuteBatchRequest request) apply
(Service.ExecuteRequest request) apply
(Service.FetchRequest request) apply
(Service.OpenConnectionRequest request) apply
(Service.PrepareAndExecuteRequest request) apply
(Service.PrepareRequest request) apply
(Service.RollbackRequest request) apply
(Service.SchemasRequest request) apply
(Service.SyncResultsRequest request) apply
(Service.TablesRequest request) apply
(Service.TableTypesRequest request) apply
(Service.TypeInfoRequest request) void
setRpcMetadata
(Service.RpcMetadataResponse metadata) Sets server-level metadata for RPCs.
-
Method Details
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
apply
-
setRpcMetadata
Sets server-level metadata for RPCs. This includes information that is static across all RPCs.- Parameters:
metadata
- The server-level metadata.
-