GetTableResult class
Result data returned by getTable.
Constructors
-
GetTableResult({required ChangeStreamConfigResponse changeStreamConfig, required Map<
String, String> clusterStates, required Map<String, String> columnFamilies, required bool deletionProtection, required String granularity, required String name, required RestoreInfoResponse restoreInfo, required TableStatsResponse stats}) -
Creates a new GetTableResult.
changeStreamConfigIf specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.clusterStatesMap 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 UNKNOWNreplication_status. Views:REPLICATION_VIEW,ENCRYPTION_VIEW,FULLcolumnFamiliesThe column families configured for this table, mapped by column family ID. Views:SCHEMA_VIEW,STATS_VIEW,FULLdeletionProtectionSet to true to make the table protected against data loss. i.e. deleting the following resources through Admin APIs are prohibited: * The table. * The column families in the table. * The instance containing the table. Note one can still delete the data stored in the table through Data APIs.granularityImmutable. 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 toMILLIS. Views:SCHEMA_VIEW,FULL.nameThe unique name of the table. Values are of the formprojects/{project}/instances/{instance}/tables/_a-zA-Z0-9*. Views:NAME_ONLY,SCHEMA_VIEW,REPLICATION_VIEW,STATS_VIEW,FULLrestoreInfoIf this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.statsOnly available with STATS_VIEW, this includes summary statistics about the entire table contents. For statistics about a specific column family, see ColumnFamilyStats in the mapped ColumnFamily collection above.const -
GetTableResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- changeStreamConfig → ChangeStreamConfigResponse
-
If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
final
-
clusterStates
→ Map<
String, String> -
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,FULLfinal -
columnFamilies
→ Map<
String, String> -
The column families configured for this table, mapped by column family ID. Views:
SCHEMA_VIEW,STATS_VIEW,FULLfinal - deletionProtection → bool
-
Set to true to make the table protected against data loss. i.e. deleting the following resources through Admin APIs are prohibited: * The table. * The column families in the table. * The instance containing the table. Note one can still delete the data stored in the table through Data APIs.
final
- granularity → String
-
Immutable. 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 toMILLIS. Views:SCHEMA_VIEW,FULL.final - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The unique name of the table. Values are of the form
projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*. Views:NAME_ONLY,SCHEMA_VIEW,REPLICATION_VIEW,STATS_VIEW,FULLfinal - restoreInfo → RestoreInfoResponse
-
If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stats → TableStatsResponse
-
Only available with STATS_VIEW, this includes summary statistics about the entire table contents. For statistics about a specific column family, see ColumnFamilyStats in the mapped ColumnFamily collection above.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited