pub struct DataFile {Show 14 fields
pub file_path: String,
pub file_format: FileFormat,
pub content: FileContent,
pub partition: HashMap<String, Value>,
pub record_count: i64,
pub file_size_in_bytes: i64,
pub column_sizes: HashMap<i32, i64>,
pub value_counts: HashMap<i32, i64>,
pub null_value_counts: HashMap<i32, i64>,
pub nan_value_counts: HashMap<i32, i64>,
pub lower_bounds: HashMap<i32, Vec<u8>>,
pub upper_bounds: HashMap<i32, Vec<u8>>,
pub statistics: HashMap<i32, ColumnStats>,
pub sort_order_id: Option<i32>,
}Expand description
Metadata about a data or delete file.
Fields§
§file_path: StringPath to the file.
file_format: FileFormatThe file format.
content: FileContentThe type of content in this file.
partition: HashMap<String, Value>The partition data for this file.
record_count: i64Number of records in this file.
file_size_in_bytes: i64File size in bytes.
column_sizes: HashMap<i32, i64>Column sizes (column_id -> size in bytes).
value_counts: HashMap<i32, i64>Value counts (column_id -> non-null value count).
null_value_counts: HashMap<i32, i64>Null value counts (column_id -> null value count).
nan_value_counts: HashMap<i32, i64>NaN value counts (column_id -> NaN count).
lower_bounds: HashMap<i32, Vec<u8>>Lower bounds (column_id -> serialized lower bound).
upper_bounds: HashMap<i32, Vec<u8>>Upper bounds (column_id -> serialized upper bound).
statistics: HashMap<i32, ColumnStats>Column-level statistics.
sort_order_id: Option<i32>Sort order ID, if the file is sorted.
Implementations§
Source§impl DataFile
impl DataFile
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataFile
impl<'de> Deserialize<'de> for DataFile
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 Freeze for DataFile
impl RefUnwindSafe for DataFile
impl Send for DataFile
impl Sync for DataFile
impl Unpin for DataFile
impl UnwindSafe for DataFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more