@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcBigtableStub extends BigtableStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcBigtableStub(BigtableStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcBigtableStub, using the given settings.
|
protected |
GrpcBigtableStub(BigtableStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcBigtableStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
UnaryCallable<com.google.bigtable.v2.CheckAndMutateRowRequest,com.google.bigtable.v2.CheckAndMutateRowResponse> |
checkAndMutateRowCallable() |
void |
close() |
static GrpcBigtableStub |
create(BigtableStubSettings settings) |
static GrpcBigtableStub |
create(ClientContext clientContext) |
static GrpcBigtableStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.bigtable.v2.MutateRowRequest,com.google.bigtable.v2.MutateRowResponse> |
mutateRowCallable() |
ServerStreamingCallable<com.google.bigtable.v2.MutateRowsRequest,com.google.bigtable.v2.MutateRowsResponse> |
mutateRowsCallable() |
UnaryCallable<com.google.bigtable.v2.ReadModifyWriteRowRequest,com.google.bigtable.v2.ReadModifyWriteRowResponse> |
readModifyWriteRowCallable() |
ServerStreamingCallable<com.google.bigtable.v2.ReadRowsRequest,com.google.bigtable.v2.ReadRowsResponse> |
readRowsCallable() |
ServerStreamingCallable<com.google.bigtable.v2.SampleRowKeysRequest,com.google.bigtable.v2.SampleRowKeysResponse> |
sampleRowKeysCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcBigtableStub(BigtableStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcBigtableStub(BigtableStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcBigtableStub create(BigtableStubSettings settings) throws IOException
IOException
public static final GrpcBigtableStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcBigtableStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public ServerStreamingCallable<com.google.bigtable.v2.ReadRowsRequest,com.google.bigtable.v2.ReadRowsResponse> readRowsCallable()
readRowsCallable
in class BigtableStub
public ServerStreamingCallable<com.google.bigtable.v2.SampleRowKeysRequest,com.google.bigtable.v2.SampleRowKeysResponse> sampleRowKeysCallable()
sampleRowKeysCallable
in class BigtableStub
public UnaryCallable<com.google.bigtable.v2.MutateRowRequest,com.google.bigtable.v2.MutateRowResponse> mutateRowCallable()
mutateRowCallable
in class BigtableStub
public ServerStreamingCallable<com.google.bigtable.v2.MutateRowsRequest,com.google.bigtable.v2.MutateRowsResponse> mutateRowsCallable()
mutateRowsCallable
in class BigtableStub
public UnaryCallable<com.google.bigtable.v2.CheckAndMutateRowRequest,com.google.bigtable.v2.CheckAndMutateRowResponse> checkAndMutateRowCallable()
checkAndMutateRowCallable
in class BigtableStub
public UnaryCallable<com.google.bigtable.v2.ReadModifyWriteRowRequest,com.google.bigtable.v2.ReadModifyWriteRowResponse> readModifyWriteRowCallable()
readModifyWriteRowCallable
in class BigtableStub
public final void close()
close
in interface AutoCloseable
close
in class BigtableStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.