deltalake_core::delta_datafusion::cdf

Trait FileAction

Source
pub trait FileAction {
    // Required methods
    fn partition_values(&self) -> DeltaResult<&HashMap<String, Option<String>>>;
    fn path(&self) -> String;
    fn size(&self) -> DeltaResult<usize>;
}
Expand description

This trait defines a generic set of operations used by CDF Reader

Required Methods§

Source

fn partition_values(&self) -> DeltaResult<&HashMap<String, Option<String>>>

Adds partition values

Source

fn path(&self) -> String

Physical Path to the data

Source

fn size(&self) -> DeltaResult<usize>

Byte size of the physical file

Implementors§