Struct google_bigtableadmin2::api::ColumnFamilyStats
source · pub struct ColumnFamilyStats {
pub average_cells_per_column: Option<f64>,
pub average_columns_per_row: Option<f64>,
pub logical_data_bytes: Option<i64>,
}
Expand description
Approximate statistics related to a single column family within a table. This information may change rapidly, interpreting these values at a point in time may already preset out-of-date information. Everything below is approximate, unless otherwise specified.
This type is not used in any activity, and only used as part of another schema.
Fields§
§average_cells_per_column: Option<f64>
How many cells are present per column qualifier in this column family, averaged over all rows containing any column in the column family. e.g. For column family “family” in a table with 3 rows: * A row with 3 cells in “family:col” and 1 cell in “other:col” (3 cells / 1 column in “family”) * A row with 1 cell in “family:col”, 7 cells in “family:other_col”, and 7 cells in “other:data” (8 cells / 2 columns in “family”) * A row with 3 cells in “other:col” (0 columns in “family”, “family” not present) would report (3 + 8 + 0)/(1 + 2 + 0) = 3.66 in this field.
average_columns_per_row: Option<f64>
How many column qualifiers are present in this column family, averaged over all rows in the table. e.g. For column family “family” in a table with 3 rows: * A row with cells in “family:col” and “other:col” (1 column in “family”) * A row with cells in “family:col”, “family:other_col”, and “other:data” (2 columns in “family”) * A row with cells in “other:col” (0 columns in “family”, “family” not present) would report (1 + 2 + 0)/3 = 1.5 in this field.
logical_data_bytes: Option<i64>
How much space the data in the column family occupies. This is roughly how many bytes would be needed to read the contents of the entire column family (e.g. by streaming all contents out).
Trait Implementations§
source§impl Clone for ColumnFamilyStats
impl Clone for ColumnFamilyStats
source§fn clone(&self) -> ColumnFamilyStats
fn clone(&self) -> ColumnFamilyStats
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more