Trait mz_persist_types::stats::DynStats
source · pub trait DynStats: Debug + Send + Sync + 'static {
// Required methods
fn as_any(&self) -> &dyn Any;
fn into_proto(&self) -> ProtoDynStats;
fn debug_json(&self) -> Value;
// Provided method
fn type_name(&self) -> &'static str { ... }
}
Expand description
Type-erased aggregate statistics about a column of data.
Required Methods§
sourcefn into_proto(&self) -> ProtoDynStats
fn into_proto(&self) -> ProtoDynStats
sourcefn debug_json(&self) -> Value
fn debug_json(&self) -> Value
Formats these statistics for use in INSPECT SHARD
and debugging.
Provided Methods§
Trait Implementations§
source§impl RustType<ProtoDynStats> for Box<dyn DynStats>
impl RustType<ProtoDynStats> for Box<dyn DynStats>
source§fn into_proto(&self) -> ProtoDynStats
fn into_proto(&self) -> ProtoDynStats
Convert a
Self
into a Proto
value.