Interface PartitionedTableServiceGrpc.AsyncService

All Known Implementing Classes:
PartitionedTableServiceGrpc.PartitionedTableServiceImplBase, PartitionedTableServiceGrpcImpl
Enclosing class:
PartitionedTableServiceGrpc

public static interface PartitionedTableServiceGrpc.AsyncService
 This service provides tools to create and query partitioned tables.
 
  • Method Summary

    Modifier and Type
    Method
    Description
    default 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.
    default 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.
    default 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.
  • Method Details

    • partitionBy

      default 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

      default 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

      default 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.