Interface TablesServiceGrpc.AsyncService (0.38.0)

public static interface TablesServiceGrpc.AsyncService

The Tables Service provides an API for reading and updating tables. It defines the following resource model:

  • The API has a collection of Table resources, named tables/*
  • Each Table has a collection of Row resources, named tables/*/rows/*
  • The API has a collection of Workspace resources, named workspaces/*.

Methods

batchCreateRows(BatchCreateRowsRequest request, StreamObserver<BatchCreateRowsResponse> responseObserver)

public default void batchCreateRows(BatchCreateRowsRequest request, StreamObserver<BatchCreateRowsResponse> responseObserver)

Creates multiple rows.

Parameters
NameDescription
requestBatchCreateRowsRequest
responseObserverio.grpc.stub.StreamObserver<BatchCreateRowsResponse>

batchDeleteRows(BatchDeleteRowsRequest request, StreamObserver<Empty> responseObserver)

public default void batchDeleteRows(BatchDeleteRowsRequest request, StreamObserver<Empty> responseObserver)

Deletes multiple rows.

Parameters
NameDescription
requestBatchDeleteRowsRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

batchUpdateRows(BatchUpdateRowsRequest request, StreamObserver<BatchUpdateRowsResponse> responseObserver)

public default void batchUpdateRows(BatchUpdateRowsRequest request, StreamObserver<BatchUpdateRowsResponse> responseObserver)

Updates multiple rows.

Parameters
NameDescription
requestBatchUpdateRowsRequest
responseObserverio.grpc.stub.StreamObserver<BatchUpdateRowsResponse>

createRow(CreateRowRequest request, StreamObserver<Row> responseObserver)

public default void createRow(CreateRowRequest request, StreamObserver<Row> responseObserver)

Creates a row.

Parameters
NameDescription
requestCreateRowRequest
responseObserverio.grpc.stub.StreamObserver<Row>

deleteRow(DeleteRowRequest request, StreamObserver<Empty> responseObserver)

public default void deleteRow(DeleteRowRequest request, StreamObserver<Empty> responseObserver)

Deletes a row.

Parameters
NameDescription
requestDeleteRowRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getRow(GetRowRequest request, StreamObserver<Row> responseObserver)

public default void getRow(GetRowRequest request, StreamObserver<Row> responseObserver)

Gets a row. Returns NOT_FOUND if the row does not exist in the table.

Parameters
NameDescription
requestGetRowRequest
responseObserverio.grpc.stub.StreamObserver<Row>

getTable(GetTableRequest request, StreamObserver<Table> responseObserver)

public default void getTable(GetTableRequest request, StreamObserver<Table> responseObserver)

Gets a table. Returns NOT_FOUND if the table does not exist.

Parameters
NameDescription
requestGetTableRequest
responseObserverio.grpc.stub.StreamObserver<Table>

getWorkspace(GetWorkspaceRequest request, StreamObserver<Workspace> responseObserver)

public default void getWorkspace(GetWorkspaceRequest request, StreamObserver<Workspace> responseObserver)

Gets a workspace. Returns NOT_FOUND if the workspace does not exist.

Parameters
NameDescription
requestGetWorkspaceRequest
responseObserverio.grpc.stub.StreamObserver<Workspace>

listRows(ListRowsRequest request, StreamObserver<ListRowsResponse> responseObserver)

public default void listRows(ListRowsRequest request, StreamObserver<ListRowsResponse> responseObserver)

Lists rows in a table. Returns NOT_FOUND if the table does not exist.

Parameters
NameDescription
requestListRowsRequest
responseObserverio.grpc.stub.StreamObserver<ListRowsResponse>

listTables(ListTablesRequest request, StreamObserver<ListTablesResponse> responseObserver)

public default void listTables(ListTablesRequest request, StreamObserver<ListTablesResponse> responseObserver)

Lists tables for the user.

Parameters
NameDescription
requestListTablesRequest
responseObserverio.grpc.stub.StreamObserver<ListTablesResponse>

listWorkspaces(ListWorkspacesRequest request, StreamObserver<ListWorkspacesResponse> responseObserver)

public default void listWorkspaces(ListWorkspacesRequest request, StreamObserver<ListWorkspacesResponse> responseObserver)

Lists workspaces for the user.

Parameters
NameDescription
requestListWorkspacesRequest
responseObserverio.grpc.stub.StreamObserver<ListWorkspacesResponse>

updateRow(UpdateRowRequest request, StreamObserver<Row> responseObserver)

public default void updateRow(UpdateRowRequest request, StreamObserver<Row> responseObserver)

Updates a row.

Parameters
NameDescription
requestUpdateRowRequest
responseObserverio.grpc.stub.StreamObserver<Row>