Struct google_bigtableadmin2::api::TableStats
source · pub struct TableStats {
pub average_cells_per_column: Option<f64>,
pub average_columns_per_row: Option<f64>,
pub logical_data_bytes: Option<i64>,
pub row_count: Option<i64>,
}
Expand description
Approximate statistics related to a table. These statistics are calculated infrequently, while simultaneously, data in the table can change rapidly. Thus the values reported here (e.g. row count) are very likely out-of date, even the instant they are received in this API. Thus, only treat these values as approximate. IMPORTANT: 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 (column family, column qualifier) combinations, averaged over all columns in all rows in the table. e.g. A table with 2 rows: * A row with 3 cells in “family:col” and 1 cell in “other:col” (4 cells / 2 columns) * A row with 1 cell in “family:col”, 7 cells in “family:other_col”, and 7 cells in “other:data” (15 cells / 3 columns) would report (4 + 15)/(2 + 3) = 3.8 in this field.
average_columns_per_row: Option<f64>
How many (column family, column qualifier) combinations are present per row in the table, averaged over all rows in the table. e.g. A table with 2 rows: * A row with cells in “family:col” and “other:col” (2 distinct columns) * A row with cells in “family:col”, “family:other_col”, and “other:data” (3 distinct columns) would report (2 + 3)/2 = 2.5 in this field.
logical_data_bytes: Option<i64>
This is roughly how many bytes would be needed to read the entire table (e.g. by streaming all contents out).
row_count: Option<i64>
How many rows are in the table.
Trait Implementations§
source§impl Clone for TableStats
impl Clone for TableStats
source§fn clone(&self) -> TableStats
fn clone(&self) -> TableStats
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more