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§
Sourcefn partition_values(&self) -> DeltaResult<&HashMap<String, Option<String>>>
fn partition_values(&self) -> DeltaResult<&HashMap<String, Option<String>>>
Adds partition values
Sourcefn size(&self) -> DeltaResult<usize>
fn size(&self) -> DeltaResult<usize>
Byte size of the physical file