Struct gapi_grpc::google::bigtable::admin::v2::Table[][src]

pub struct Table {
    pub name: String,
    pub cluster_states: HashMap<String, ClusterState>,
    pub column_families: HashMap<String, ColumnFamily>,
    pub granularity: i32,
    pub restore_info: Option<RestoreInfo>,
}

A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.

Fields

name: String

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

cluster_states: HashMap<String, ClusterState>

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

column_families: HashMap<String, ColumnFamily>

(CreationOnly) The column families configured for this table, mapped by column family ID. Views: SCHEMA_VIEW, FULL

granularity: i32

(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.

restore_info: Option<RestoreInfo>

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.

Implementations

impl Table[src]

pub fn granularity(&self) -> TimestampGranularity[src]

Returns the enum value of granularity, or the default if the field is set to an invalid enum value.

pub fn set_granularity(&mut self, value: TimestampGranularity)[src]

Sets granularity to the provided enum value.

Trait Implementations

impl Clone for Table[src]

impl Debug for Table[src]

impl Default for Table[src]

impl Message for Table[src]

impl PartialEq<Table> for Table[src]

impl StructuralPartialEq for Table[src]

Auto Trait Implementations

impl RefUnwindSafe for Table

impl Send for Table

impl Sync for Table

impl Unpin for Table

impl UnwindSafe for Table

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]