Class TableResource (2.11.0)

This class identifies a Cloud Bigtable Table.

Bigtable stores data in massively scalable tables, each of which is a sorted key/value map. A Cloud Bigtable table is identified by the instance it is contained in and its table_id.

See Also

https://cloud.google.com/bigtable/docs/overview for an overview of the Cloud Bigtable data model.

Constructors

TableResource(InstanceResource, std::string)

Constructs a TableResource object identified by the given instance and table_id.

Parameters
NameDescription
instance InstanceResource
table_id std::string

TableResource(std::string, std::string, std::string)

Constructs a TableResource object identified by the given IDs.

This is equivalent to first constructing an InstanceResource from the given project_id and instance_id arguments and then calling the TableResource(InstanceResource, std::string) constructor.

Parameters
NameDescription
project_id std::string
instance_id std::string
table_id std::string

Functions

instance() const

Returns the InstanceResource containing this table.

Returns
TypeDescription
InstanceResource const &

table_id() const

Returns the Table ID.

Returns
TypeDescription
std::string const &

FullName() const

Returns the fully qualified table name as a string of the form: "projects/

Returns
TypeDescription
std::string