Table class

A collection of user data indexed by row, column, and timestamp.

Each table is served using the resources of its parent cluster.

Constructors

Table({AutomatedBackupPolicy? automatedBackupPolicy, ChangeStreamConfig? changeStreamConfig, Map<String, ClusterState>? clusterStates, Map<String, ColumnFamily>? columnFamilies, bool? deletionProtection, String? granularity, String? name, RestoreInfo? restoreInfo, TableStats? stats})
Table.fromJson(Map json_)

Properties

automatedBackupPolicy AutomatedBackupPolicy?
If specified, automated backups are enabled for this table.
getter/setter pair
changeStreamConfig ChangeStreamConfig?
If specified, enable the change stream on this table.
getter/setter pair
clusterStates Map<String, ClusterState>?
Map from cluster ID to per-cluster table state.
getter/setter pair
columnFamilies Map<String, ColumnFamily>?
The column families configured for this table, mapped by column family ID.
getter/setter pair
deletionProtection bool?
Set to true to make the table protected against data loss.
getter/setter pair
granularity String?
The granularity (i.e. MILLIS) at which timestamps are stored in this table.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The unique name of the table.
getter/setter pair
restoreInfo RestoreInfo?
If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stats TableStats?
Only available with STATS_VIEW, this includes summary statistics about the entire table contents.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited