Class PartitionedTableServiceGrpcImpl
java.lang.Object
io.deephaven.proto.backplane.grpc.PartitionedTableServiceGrpc.PartitionedTableServiceImplBase
io.deephaven.server.partitionedtable.PartitionedTableServiceGrpcImpl
- All Implemented Interfaces:
io.grpc.BindableService
public class PartitionedTableServiceGrpcImpl
extends PartitionedTableServiceGrpc.PartitionedTableServiceImplBase
-
Constructor Summary
ConstructorsConstructorDescriptionPartitionedTableServiceGrpcImpl(TicketRouter ticketRouter, SessionService sessionService, AuthorizationProvider authorizationProvider, PartitionedTableServiceContextualAuthWiring authWiring) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetTable(@NotNull GetTableRequest request, @NotNull 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.voidmerge(@NotNull MergeRequest request, @NotNull io.grpc.stub.StreamObserver<ExportedTableCreationResponse> responseObserver) Given a partitioned table, returns a table with the contents of all of the constituent tables.voidpartitionBy(@NotNull PartitionByRequest request, @NotNull 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.deephaven.proto.backplane.grpc.PartitionedTableServiceGrpc.PartitionedTableServiceImplBase
bindService
-
Constructor Details
-
PartitionedTableServiceGrpcImpl
@Inject public PartitionedTableServiceGrpcImpl(TicketRouter ticketRouter, SessionService sessionService, AuthorizationProvider authorizationProvider, PartitionedTableServiceContextualAuthWiring authWiring)
-
-
Method Details
-
partitionBy
public void partitionBy(@NotNull @NotNull PartitionByRequest request, @NotNull @NotNull io.grpc.stub.StreamObserver<PartitionByResponse> responseObserver) Description copied from class:PartitionedTableServiceGrpc.PartitionedTableServiceImplBaseTransforms a table into a partitioned table, consisting of many separate tables, each individually addressable. The result will be a FetchObjectResponse populated with a PartitionedTable.
- Overrides:
partitionByin classPartitionedTableServiceGrpc.PartitionedTableServiceImplBase
-
merge
public void merge(@NotNull @NotNull MergeRequest request, @NotNull @NotNull io.grpc.stub.StreamObserver<ExportedTableCreationResponse> responseObserver) Description copied from class:PartitionedTableServiceGrpc.PartitionedTableServiceImplBaseGiven a partitioned table, returns a table with the contents of all of the constituent tables.
- Overrides:
mergein classPartitionedTableServiceGrpc.PartitionedTableServiceImplBase
-
getTable
public void getTable(@NotNull @NotNull GetTableRequest request, @NotNull @NotNull io.grpc.stub.StreamObserver<ExportedTableCreationResponse> responseObserver) Description copied from class:PartitionedTableServiceGrpc.PartitionedTableServiceImplBaseGiven 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.
- Overrides:
getTablein classPartitionedTableServiceGrpc.PartitionedTableServiceImplBase
-