pub struct FileStats<S> {
pub id: FileId,
pub partition: String,
pub sketch: S,
}Expand description
File-level sketch summary — the Puffin-blob equivalent.
Generic over the caller’s sketch type S. The sketch is the
aggregate over the records within the file; the catalog backend
(in-memory today, Iceberg+Puffin tomorrow) is responsible for that
aggregation at write time.
Fields§
§id: FileIdStable file identifier.
partition: StringPartition tag. Convention is caller-defined; the catalog only uses string equality for filtering.
sketch: SCaller-supplied summary statistics (HLL, variance, histograms, etc.).
Trait Implementations§
Source§impl<'de, S> Deserialize<'de> for FileStats<S>where
S: Deserialize<'de>,
impl<'de, S> Deserialize<'de> for FileStats<S>where
S: Deserialize<'de>,
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<S> Freeze for FileStats<S>where
S: Freeze,
impl<S> RefUnwindSafe for FileStats<S>where
S: RefUnwindSafe,
impl<S> Send for FileStats<S>where
S: Send,
impl<S> Sync for FileStats<S>where
S: Sync,
impl<S> Unpin for FileStats<S>where
S: Unpin,
impl<S> UnsafeUnpin for FileStats<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for FileStats<S>where
S: UnwindSafe,
Blanket Implementations§
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