Class PartitionedTableServiceGrpc.PartitionedTableServiceImplBase

java.lang.Object
io.deephaven.proto.backplane.grpc.PartitionedTableServiceGrpc.PartitionedTableServiceImplBase
All Implemented Interfaces:
io.grpc.BindableService
Enclosing class:
PartitionedTableServiceGrpc

public abstract static class PartitionedTableServiceGrpc.PartitionedTableServiceImplBase extends Object implements io.grpc.BindableService
 This service provides tools to create and query partitioned tables.
 
  • Constructor Details

    • PartitionedTableServiceImplBase

      public PartitionedTableServiceImplBase()
  • Method Details

    • 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.
       
    • bindService

      public final io.grpc.ServerServiceDefinition bindService()
      Specified by:
      bindService in interface io.grpc.BindableService