Skip to main content

HexastoreStats

Trait HexastoreStats 

Source
pub trait HexastoreStats: Send + Sync {
    // Required methods
    fn stats_profile(
        &self,
        axis: PartitionAxis,
    ) -> impl Future<Output = Result<Vec<u8>, Status>> + Send;
    fn geo_histogram(
        &self,
        axis: PartitionAxis,
        section: GeoHistogramSection,
    ) -> impl Future<Output = Result<Vec<u8>, Status>> + Send;
    fn temporal_histogram(
        &self,
        axis: PartitionAxis,
    ) -> impl Future<Output = Result<Vec<u8>, Status>> + Send;
    fn text_seed_sketch(
        &self,
        axis: PartitionAxis,
    ) -> impl Future<Output = Result<Vec<u8>, Status>> + Send;
}
Expand description

Fetch a shard statistical profile (Phase 7).

Required Methods§

Source

fn stats_profile( &self, axis: PartitionAxis, ) -> impl Future<Output = Result<Vec<u8>, Status>> + Send

Serialized CORE waratah_stats::StatsProfile blob from axis (geo/temporal sections empty — each rides its own frame below).

Source

fn geo_histogram( &self, axis: PartitionAxis, section: GeoHistogramSection, ) -> impl Future<Output = Result<Vec<u8>, Status>> + Send

ONE geo cell-count histogram frame from axis: self-versioned GeoCellHistogram section bytes carrying exactly the requested map (the unrequested maps empty — subset-populated sections are valid merge inputs on their own).

Source

fn temporal_histogram( &self, axis: PartitionAxis, ) -> impl Future<Output = Result<Vec<u8>, Status>> + Send

The temporal tick histogram frame from axis: self-versioned TickHistogram section bytes (bounded by construction, untrimmed).

Source

fn text_seed_sketch( &self, axis: PartitionAxis, ) -> impl Future<Output = Result<Vec<u8>, Status>> + Send

The text seed-population sketch frame from axis: self-versioned TextSeedSketch section bytes, wire-trimmed deepest-first at the partition. Empty bytes = no trusted sketch (never built, wiped, or undecodable) — the caller keeps its unpriced estimate.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§