Class HttpJsonTablesServiceStub (0.12.0)

public class HttpJsonTablesServiceStub extends TablesServiceStub

REST stub implementation for the TablesService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > TablesServiceStub > HttpJsonTablesServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonTablesServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonTablesServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonTablesServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonTablesServiceStub
Exceptions
TypeDescription
IOException

create(TablesServiceStubSettings settings)

public static final HttpJsonTablesServiceStub create(TablesServiceStubSettings settings)
Parameter
NameDescription
settingsTablesServiceStubSettings
Returns
TypeDescription
HttpJsonTablesServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonTablesServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsTablesServiceStubSettings
clientContextClientContext

HttpJsonTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonTablesServiceStub(TablesServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonTablesServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsTablesServiceStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

batchCreateRowsCallable()

public UnaryCallable<BatchCreateRowsRequest,BatchCreateRowsResponse> batchCreateRowsCallable()
Returns
TypeDescription
UnaryCallable<BatchCreateRowsRequest,BatchCreateRowsResponse>
Overrides

batchDeleteRowsCallable()

public UnaryCallable<BatchDeleteRowsRequest,Empty> batchDeleteRowsCallable()
Returns
TypeDescription
UnaryCallable<BatchDeleteRowsRequest,Empty>
Overrides

batchUpdateRowsCallable()

public UnaryCallable<BatchUpdateRowsRequest,BatchUpdateRowsResponse> batchUpdateRowsCallable()
Returns
TypeDescription
UnaryCallable<BatchUpdateRowsRequest,BatchUpdateRowsResponse>
Overrides

close()

public final void close()
Overrides

createRowCallable()

public UnaryCallable<CreateRowRequest,Row> createRowCallable()
Returns
TypeDescription
UnaryCallable<CreateRowRequest,Row>
Overrides

deleteRowCallable()

public UnaryCallable<DeleteRowRequest,Empty> deleteRowCallable()
Returns
TypeDescription
UnaryCallable<DeleteRowRequest,Empty>
Overrides

getRowCallable()

public UnaryCallable<GetRowRequest,Row> getRowCallable()
Returns
TypeDescription
UnaryCallable<GetRowRequest,Row>
Overrides

getTableCallable()

public UnaryCallable<GetTableRequest,Table> getTableCallable()
Returns
TypeDescription
UnaryCallable<GetTableRequest,Table>
Overrides

getWorkspaceCallable()

public UnaryCallable<GetWorkspaceRequest,Workspace> getWorkspaceCallable()
Returns
TypeDescription
UnaryCallable<GetWorkspaceRequest,Workspace>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listRowsCallable()

public UnaryCallable<ListRowsRequest,ListRowsResponse> listRowsCallable()
Returns
TypeDescription
UnaryCallable<ListRowsRequest,ListRowsResponse>
Overrides

listRowsPagedCallable()

public UnaryCallable<ListRowsRequest,TablesServiceClient.ListRowsPagedResponse> listRowsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRowsRequest,ListRowsPagedResponse>
Overrides

listTablesCallable()

public UnaryCallable<ListTablesRequest,ListTablesResponse> listTablesCallable()
Returns
TypeDescription
UnaryCallable<ListTablesRequest,ListTablesResponse>
Overrides

listTablesPagedCallable()

public UnaryCallable<ListTablesRequest,TablesServiceClient.ListTablesPagedResponse> listTablesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTablesRequest,ListTablesPagedResponse>
Overrides

listWorkspacesCallable()

public UnaryCallable<ListWorkspacesRequest,ListWorkspacesResponse> listWorkspacesCallable()
Returns
TypeDescription
UnaryCallable<ListWorkspacesRequest,ListWorkspacesResponse>
Overrides

listWorkspacesPagedCallable()

public UnaryCallable<ListWorkspacesRequest,TablesServiceClient.ListWorkspacesPagedResponse> listWorkspacesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListWorkspacesRequest,ListWorkspacesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateRowCallable()

public UnaryCallable<UpdateRowRequest,Row> updateRowCallable()
Returns
TypeDescription
UnaryCallable<UpdateRowRequest,Row>
Overrides