|
|
virtual grpc::Status | MutateRow (grpc::ClientContext *context, google::bigtable::v2::MutateRowRequest const &request, google::bigtable::v2::MutateRowResponse *response)=0 |
|
virtual std::unique_ptr< grpc::ClientAsyncResponseReaderInterface< google::bigtable::v2::MutateRowResponse > > | AsyncMutateRow (grpc::ClientContext *context, google::bigtable::v2::MutateRowRequest const &request, grpc::CompletionQueue *cq)=0 |
|
virtual grpc::Status | CheckAndMutateRow (grpc::ClientContext *context, google::bigtable::v2::CheckAndMutateRowRequest const &request, google::bigtable::v2::CheckAndMutateRowResponse *response)=0 |
|
virtual std::unique_ptr< grpc::ClientAsyncResponseReaderInterface< google::bigtable::v2::CheckAndMutateRowResponse > > | AsyncCheckAndMutateRow (grpc::ClientContext *context, google::bigtable::v2::CheckAndMutateRowRequest const &request, grpc::CompletionQueue *cq)=0 |
|
virtual grpc::Status | ReadModifyWriteRow (grpc::ClientContext *context, google::bigtable::v2::ReadModifyWriteRowRequest const &request, google::bigtable::v2::ReadModifyWriteRowResponse *response)=0 |
|
virtual std::unique_ptr< grpc::ClientAsyncResponseReaderInterface< google::bigtable::v2::ReadModifyWriteRowResponse > > | AsyncReadModifyWriteRow (grpc::ClientContext *context, google::bigtable::v2::ReadModifyWriteRowRequest const &request, grpc::CompletionQueue *cq)=0 |
|
virtual std::unique_ptr< grpc::ClientReaderInterface< google::bigtable::v2::ReadRowsResponse > > | ReadRows (grpc::ClientContext *context, google::bigtable::v2::ReadRowsRequest const &request)=0 |
|
virtual std::unique_ptr< grpc::ClientAsyncReaderInterface< google::bigtable::v2::ReadRowsResponse > > | AsyncReadRows (grpc::ClientContext *context, google::bigtable::v2::ReadRowsRequest const &request, grpc::CompletionQueue *cq, void *tag)=0 |
|
virtual std::unique_ptr<::grpc::ClientAsyncReaderInterface< google::bigtable::v2::ReadRowsResponse > > | PrepareAsyncReadRows (::grpc::ClientContext *context, google::bigtable::v2::ReadRowsRequest const &request, grpc::CompletionQueue *cq)=0 |
|
virtual std::unique_ptr< grpc::ClientReaderInterface< google::bigtable::v2::SampleRowKeysResponse > > | SampleRowKeys (grpc::ClientContext *context, google::bigtable::v2::SampleRowKeysRequest const &request)=0 |
|
virtual std::unique_ptr<::grpc::ClientAsyncReaderInterface< google::bigtable::v2::SampleRowKeysResponse > > | AsyncSampleRowKeys (grpc::ClientContext *context, google::bigtable::v2::SampleRowKeysRequest const &request, grpc::CompletionQueue *cq, void *tag)=0 |
|
virtual std::unique_ptr<::grpc::ClientAsyncReaderInterface< google::bigtable::v2::SampleRowKeysResponse > > | PrepareAsyncSampleRowKeys (grpc::ClientContext *context, google::bigtable::v2::SampleRowKeysRequest const &request, grpc::CompletionQueue *cq) |
|
virtual std::unique_ptr< grpc::ClientReaderInterface< google::bigtable::v2::MutateRowsResponse > > | MutateRows (grpc::ClientContext *context, google::bigtable::v2::MutateRowsRequest const &request)=0 |
|
virtual std::unique_ptr<::grpc::ClientAsyncReaderInterface< google::bigtable::v2::MutateRowsResponse > > | AsyncMutateRows (::grpc::ClientContext *context, google::bigtable::v2::MutateRowsRequest const &request, grpc::CompletionQueue *cq, void *tag)=0 |
|
virtual std::unique_ptr<::grpc::ClientAsyncReaderInterface< google::bigtable::v2::MutateRowsResponse > > | PrepareAsyncMutateRows (grpc::ClientContext *context, google::bigtable::v2::MutateRowsRequest const &request, grpc::CompletionQueue *cq)=0 |
|
Connects to Cloud Bigtable's data manipulation APIs.
This class is used by the Cloud Bigtable wrappers to access Cloud Bigtable. Multiple bigtable::Table
objects may share a connection via a single DataClient
object. The DataClient
object is configured at construction time, this configuration includes the credentials, access endpoints, default timeouts, and other gRPC configuration options. This is an interface class because it is also used as a dependency injection point in some of the tests.
- Cost
- Applications should avoid unnecessarily creating new objects of type
DataClient
. Creating a new object of this type typically requires connecting to the Cloud Bigtable servers, and performing the authentication workflows with Google Cloud Platform. These operations can take many milliseconds, therefore applications should try to reuse the same DataClient
instances when possible.
- Deprecated:
- google::cloud::bigtable::DataConnection is the preferred way to communicate with the Bigtable Data API. To migrate existing code, see Migrating from DataClient.