Class TablesServiceGrpc.TablesServiceBlockingStub (0.24.0)

public static final class TablesServiceGrpc.TablesServiceBlockingStub extends AbstractBlockingStub<TablesServiceGrpc.TablesServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service TablesService.

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.AbstractBlockingStub > TablesServiceGrpc.TablesServiceBlockingStub

Methods

batchCreateRows(BatchCreateRowsRequest request)

public BatchCreateRowsResponse batchCreateRows(BatchCreateRowsRequest request)

Creates multiple rows.

Parameter
NameDescription
requestBatchCreateRowsRequest
Returns
TypeDescription
BatchCreateRowsResponse

batchDeleteRows(BatchDeleteRowsRequest request)

public Empty batchDeleteRows(BatchDeleteRowsRequest request)

Deletes multiple rows.

Parameter
NameDescription
requestBatchDeleteRowsRequest
Returns
TypeDescription
Empty

batchUpdateRows(BatchUpdateRowsRequest request)

public BatchUpdateRowsResponse batchUpdateRows(BatchUpdateRowsRequest request)

Updates multiple rows.

Parameter
NameDescription
requestBatchUpdateRowsRequest
Returns
TypeDescription
BatchUpdateRowsResponse

build(Channel channel, CallOptions callOptions)

protected TablesServiceGrpc.TablesServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
TablesServiceGrpc.TablesServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createRow(CreateRowRequest request)

public Row createRow(CreateRowRequest request)

Creates a row.

Parameter
NameDescription
requestCreateRowRequest
Returns
TypeDescription
Row

deleteRow(DeleteRowRequest request)

public Empty deleteRow(DeleteRowRequest request)

Deletes a row.

Parameter
NameDescription
requestDeleteRowRequest
Returns
TypeDescription
Empty

getRow(GetRowRequest request)

public Row getRow(GetRowRequest request)

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

Parameter
NameDescription
requestGetRowRequest
Returns
TypeDescription
Row

getTable(GetTableRequest request)

public Table getTable(GetTableRequest request)

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

Parameter
NameDescription
requestGetTableRequest
Returns
TypeDescription
Table

getWorkspace(GetWorkspaceRequest request)

public Workspace getWorkspace(GetWorkspaceRequest request)

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

Parameter
NameDescription
requestGetWorkspaceRequest
Returns
TypeDescription
Workspace

listRows(ListRowsRequest request)

public ListRowsResponse listRows(ListRowsRequest request)

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

Parameter
NameDescription
requestListRowsRequest
Returns
TypeDescription
ListRowsResponse

listTables(ListTablesRequest request)

public ListTablesResponse listTables(ListTablesRequest request)

Lists tables for the user.

Parameter
NameDescription
requestListTablesRequest
Returns
TypeDescription
ListTablesResponse

listWorkspaces(ListWorkspacesRequest request)

public ListWorkspacesResponse listWorkspaces(ListWorkspacesRequest request)

Lists workspaces for the user.

Parameter
NameDescription
requestListWorkspacesRequest
Returns
TypeDescription
ListWorkspacesResponse

updateRow(UpdateRowRequest request)

public Row updateRow(UpdateRowRequest request)

Updates a row.

Parameter
NameDescription
requestUpdateRowRequest
Returns
TypeDescription
Row