public sealed class Table : IMessage<Table>, IEquatable<Table>, IDeepCloneable<Table>, IBufferMessage, IMessage
A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.
Namespace
Google.Cloud.Bigtable.Admin.V2Assembly
Google.Cloud.Bigtable.Admin.V2.dll
Constructors
Table()
public Table()
Table(Table)
public Table(Table other)
Parameter | |
---|---|
Name | Description |
other | Table |
Properties
ClusterStates
public MapField<string, Table.Types.ClusterState> ClusterStates { get; }
Output only. Map from cluster ID to per-cluster table state.
If it could not be determined whether or not the table has data in a
particular cluster (for example, if its zone is unavailable), then
there will be an entry for the cluster with UNKNOWN replication_status
.
Views: REPLICATION_VIEW
, ENCRYPTION_VIEW
, FULL
Property Value | |
---|---|
Type | Description |
MapField<String, Table.Types.ClusterState> |
ColumnFamilies
public MapField<string, ColumnFamily> ColumnFamilies { get; }
(CreationOnly
)
The column families configured for this table, mapped by column family ID.
Views: SCHEMA_VIEW
, FULL
Property Value | |
---|---|
Type | Description |
MapField<String, ColumnFamily> |
Granularity
public Table.Types.TimestampGranularity Granularity { get; set; }
(CreationOnly
)
The granularity (i.e. MILLIS
) at which timestamps are stored in
this table. Timestamps not matching the granularity will be rejected.
If unspecified at creation time, the value will be set to MILLIS
.
Views: SCHEMA_VIEW
, FULL
.
Property Value | |
---|---|
Type | Description |
Table.Types.TimestampGranularity |
Name
public string Name { get; set; }
The unique name of the table. Values are of the form
projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*
.
Views: NAME_ONLY
, SCHEMA_VIEW
, REPLICATION_VIEW
, FULL
Property Value | |
---|---|
Type | Description |
String |
RestoreInfo
public RestoreInfo RestoreInfo { get; set; }
Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.
Property Value | |
---|---|
Type | Description |
RestoreInfo |
TableName
public TableName TableName { get; set; }
Google.Cloud.Bigtable.Common.V2.TableName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
Google.Cloud.Bigtable.Common.V2.TableName |