pub struct SSTableStatistics {
pub header: StatisticsHeader,
pub row_stats: RowStatistics,
pub timestamp_stats: TimestampStatistics,
pub column_stats: Vec<ColumnStatistics>,
pub table_stats: TableStatistics,
pub partition_stats: PartitionStatistics,
pub compression_stats: CompressionStatistics,
pub metadata: HashMap<String, String>,
pub serialization_header_columns: Vec<ColumnInfo>,
pub serialization_header_partition_keys: Vec<ColumnInfo>,
pub serialization_header_clustering_keys: Vec<ColumnInfo>,
}Expand description
Comprehensive SSTable statistics extracted from Statistics.db
Fields§
§header: StatisticsHeaderHeader information
row_stats: RowStatisticsRow count statistics
timestamp_stats: TimestampStatisticsTimestamp range information
column_stats: Vec<ColumnStatistics>Column-level statistics
table_stats: TableStatisticsTable-level aggregated statistics
partition_stats: PartitionStatisticsPartition size distribution
compression_stats: CompressionStatisticsCompression statistics
metadata: HashMap<String, String>Additional metadata
serialization_header_columns: Vec<ColumnInfo>SerializationHeader columns (Issue #163)
Column definitions parsed from SerializationHeader embedded in nb-format Statistics.db files. Used for schema extraction in V5CompressedLegacy format. Empty if SerializationHeader not found in Statistics.db.
serialization_header_partition_keys: Vec<ColumnInfo>Partition key definitions extracted from SerializationHeader (Issue #195)
serialization_header_clustering_keys: Vec<ColumnInfo>Clustering key definitions extracted from SerializationHeader (Issue #195)
Trait Implementations§
Source§impl Clone for SSTableStatistics
impl Clone for SSTableStatistics
Source§fn clone(&self) -> SSTableStatistics
fn clone(&self) -> SSTableStatistics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SSTableStatistics
impl Debug for SSTableStatistics
Source§impl<'de> Deserialize<'de> for SSTableStatistics
impl<'de> Deserialize<'de> for SSTableStatistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SSTableStatistics
impl RefUnwindSafe for SSTableStatistics
impl Send for SSTableStatistics
impl Sync for SSTableStatistics
impl Unpin for SSTableStatistics
impl UnsafeUnpin for SSTableStatistics
impl UnwindSafe for SSTableStatistics
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more