public static final class TablesServiceGrpc.TablesServiceStub extends AbstractAsyncStub<TablesServiceGrpc.TablesServiceStub>
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/*
.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
TablesServiceGrpc.TablesServiceStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
batchCreateRows(BatchCreateRowsRequest request, StreamObserver<BatchCreateRowsResponse> responseObserver)
public void batchCreateRows(BatchCreateRowsRequest request, StreamObserver<BatchCreateRowsResponse> responseObserver)
Parameters
batchDeleteRows(BatchDeleteRowsRequest request, StreamObserver<Empty> responseObserver)
public void batchDeleteRows(BatchDeleteRowsRequest request, StreamObserver<Empty> responseObserver)
Parameters
batchUpdateRows(BatchUpdateRowsRequest request, StreamObserver<BatchUpdateRowsResponse> responseObserver)
public void batchUpdateRows(BatchUpdateRowsRequest request, StreamObserver<BatchUpdateRowsResponse> responseObserver)
Parameters
build(Channel channel, CallOptions callOptions)
protected TablesServiceGrpc.TablesServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createRow(CreateRowRequest request, StreamObserver<Row> responseObserver)
public void createRow(CreateRowRequest request, StreamObserver<Row> responseObserver)
Parameters
deleteRow(DeleteRowRequest request, StreamObserver<Empty> responseObserver)
public void deleteRow(DeleteRowRequest request, StreamObserver<Empty> responseObserver)
Parameters
getRow(GetRowRequest request, StreamObserver<Row> responseObserver)
public void getRow(GetRowRequest request, StreamObserver<Row> responseObserver)
Gets a row. Returns NOT_FOUND if the row does not exist in the table.
Parameters
Name | Description |
request | GetRowRequest
|
responseObserver | io.grpc.stub.StreamObserver<Row>
|
getTable(GetTableRequest request, StreamObserver<Table> responseObserver)
public void getTable(GetTableRequest request, StreamObserver<Table> responseObserver)
Gets a table. Returns NOT_FOUND if the table does not exist.
Parameters
getWorkspace(GetWorkspaceRequest request, StreamObserver<Workspace> responseObserver)
public void getWorkspace(GetWorkspaceRequest request, StreamObserver<Workspace> responseObserver)
Gets a workspace. Returns NOT_FOUND if the workspace does not exist.
Parameters
listRows(ListRowsRequest request, StreamObserver<ListRowsResponse> responseObserver)
public void listRows(ListRowsRequest request, StreamObserver<ListRowsResponse> responseObserver)
Lists rows in a table. Returns NOT_FOUND if the table does not exist.
Parameters
listTables(ListTablesRequest request, StreamObserver<ListTablesResponse> responseObserver)
public void listTables(ListTablesRequest request, StreamObserver<ListTablesResponse> responseObserver)
Lists tables for the user.
Parameters
listWorkspaces(ListWorkspacesRequest request, StreamObserver<ListWorkspacesResponse> responseObserver)
public void listWorkspaces(ListWorkspacesRequest request, StreamObserver<ListWorkspacesResponse> responseObserver)
Lists workspaces for the user.
Parameters
updateRow(UpdateRowRequest request, StreamObserver<Row> responseObserver)
public void updateRow(UpdateRowRequest request, StreamObserver<Row> responseObserver)
Parameters