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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe latest version available for the Cloud Bigtable DataClient is 2.37.0-rc, with numerous previous versions also listed, down to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDataClient\u003c/code\u003e is used for connecting to Cloud Bigtable's data manipulation APIs and multiple \u003ccode\u003ebigtable::Table\u003c/code\u003e objects may share a connection via a single \u003ccode\u003eDataClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eCreating new \u003ccode\u003eDataClient\u003c/code\u003e objects should be avoided when possible as it involves connecting to Cloud Bigtable servers and performing authentication workflows, which are time-consuming operations.\u003c/p\u003e\n"],["\u003cp\u003eThe preferred way to communicate with the Bigtable Data API is through \u003ccode\u003egoogle::cloud::bigtable::DataConnection\u003c/code\u003e, with a guide available for migrating from \u003ccode\u003eDataClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDataClient\u003c/code\u003e is schedule for deletion, and will soon be marked as final, no longer allowing for extensions or changes to its channels.\u003c/p\u003e\n"]]],[],null,[]]