Class PartitionedTableServiceGrpc.PartitionedTableServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<PartitionedTableServiceGrpc.PartitionedTableServiceStub>
io.deephaven.proto.backplane.grpc.PartitionedTableServiceGrpc.PartitionedTableServiceStub
- Enclosing class:
- PartitionedTableServiceGrpc
public static final class PartitionedTableServiceGrpc.PartitionedTableServiceStub
extends io.grpc.stub.AbstractAsyncStub<PartitionedTableServiceGrpc.PartitionedTableServiceStub>
A stub to allow clients to do asynchronous rpc calls to service PartitionedTableService.
This service provides tools to create and query partitioned tables.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
getTable
(GetTableRequest request, io.grpc.stub.StreamObserver<ExportedTableCreationResponse> responseObserver) Given a partitioned table and a row described by another table's contents, returns a table that matched that row, if any.void
merge
(MergeRequest request, io.grpc.stub.StreamObserver<ExportedTableCreationResponse> responseObserver) Given a partitioned table, returns a table with the contents of all of the constituent tables.void
partitionBy
(PartitionByRequest request, io.grpc.stub.StreamObserver<PartitionByResponse> responseObserver) Transforms a table into a partitioned table, consisting of many separate tables, each individually addressable.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected PartitionedTableServiceGrpc.PartitionedTableServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<PartitionedTableServiceGrpc.PartitionedTableServiceStub>
-
partitionBy
public void partitionBy(PartitionByRequest request, io.grpc.stub.StreamObserver<PartitionByResponse> responseObserver) Transforms a table into a partitioned table, consisting of many separate tables, each individually addressable. The result will be a FetchObjectResponse populated with a PartitionedTable.
-
merge
public void merge(MergeRequest request, io.grpc.stub.StreamObserver<ExportedTableCreationResponse> responseObserver) Given a partitioned table, returns a table with the contents of all of the constituent tables.
-
getTable
public void getTable(GetTableRequest request, io.grpc.stub.StreamObserver<ExportedTableCreationResponse> responseObserver) Given a partitioned table and a row described by another table's contents, returns a table that matched that row, if any. If none is present, NOT_FOUND will be sent in response. If more than one is present, FAILED_PRECONDITION will be sent in response. If the provided key table has any number of rows other than one, INVALID_ARGUMENT will be sent in response. The simplest way to generally use this is to subscribe to the key columns of the underlying table of a given PartitionedTable, then use /FlightService/DoPut to create a table with the desired keys, and pass that ticket to this service. After that request is sent (note that it is not required to wait for it to complete), that new table ticket can be used to make this GetTable request.
-