public static final class TablesServiceGrpc.TablesServiceFutureStub extends AbstractFutureStub<TablesServiceGrpc.TablesServiceFutureStub>
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.AbstractFutureStub >
TablesServiceGrpc.TablesServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<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)
public ListenableFuture<BatchCreateRowsResponse> batchCreateRows(BatchCreateRowsRequest request)
Parameter
Returns
batchDeleteRows(BatchDeleteRowsRequest request)
public ListenableFuture<Empty> batchDeleteRows(BatchDeleteRowsRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
batchUpdateRows(BatchUpdateRowsRequest request)
public ListenableFuture<BatchUpdateRowsResponse> batchUpdateRows(BatchUpdateRowsRequest request)
Parameter
Returns
build(Channel channel, CallOptions callOptions)
protected TablesServiceGrpc.TablesServiceFutureStub 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)
public ListenableFuture<Row> createRow(CreateRowRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Row> | |
deleteRow(DeleteRowRequest request)
public ListenableFuture<Empty> deleteRow(DeleteRowRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
getRow(GetRowRequest request)
public ListenableFuture<Row> getRow(GetRowRequest request)
Gets a row. Returns NOT_FOUND if the row does not exist in the table.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Row> | |
getTable(GetTableRequest request)
public ListenableFuture<Table> getTable(GetTableRequest request)
Gets a table. Returns NOT_FOUND if the table does not exist.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Table> | |
getWorkspace(GetWorkspaceRequest request)
public ListenableFuture<Workspace> getWorkspace(GetWorkspaceRequest request)
Gets a workspace. Returns NOT_FOUND if the workspace does not exist.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Workspace> | |
listRows(ListRowsRequest request)
public ListenableFuture<ListRowsResponse> listRows(ListRowsRequest request)
Lists rows in a table. Returns NOT_FOUND if the table does not exist.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListRowsResponse> | |
listTables(ListTablesRequest request)
public ListenableFuture<ListTablesResponse> listTables(ListTablesRequest request)
Lists tables for the user.
Parameter
Returns
listWorkspaces(ListWorkspacesRequest request)
public ListenableFuture<ListWorkspacesResponse> listWorkspaces(ListWorkspacesRequest request)
Lists workspaces for the user.
Parameter
Returns
updateRow(UpdateRowRequest request)
public ListenableFuture<Row> updateRow(UpdateRowRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Row> | |