pub struct DataFileV1 {Show 17 fields
pub file_path: String,
pub file_format: FileFormat,
pub partition: Struct,
pub record_count: i64,
pub file_size_in_bytes: i64,
pub block_size_in_bytes: i64,
pub file_ordinal: Option<i32>,
pub sort_columns: Option<Vec<i32>>,
pub column_sizes: Option<AvroMap<i64>>,
pub value_counts: Option<AvroMap<i64>>,
pub null_value_counts: Option<AvroMap<i64>>,
pub nan_value_counts: Option<AvroMap<i64>>,
pub lower_bounds: Option<AvroMap<ByteBuf>>,
pub upper_bounds: Option<AvroMap<ByteBuf>>,
pub key_metadata: Option<ByteBuf>,
pub split_offsets: Option<Vec<i64>>,
pub sort_order_id: Option<i32>,
}
Expand description
DataFile found in Manifest.
Fields§
§file_path: String
Full URI for the file with a FS scheme.
file_format: FileFormat
String file format name, avro, orc or parquet
partition: Struct
Partition data tuple, schema based on the partition spec output using partition field ids for the struct field ids
record_count: i64
Number of records in this file
file_size_in_bytes: i64
Total file size in bytes
block_size_in_bytes: i64
Block size
file_ordinal: Option<i32>
File ordinal
sort_columns: Option<Vec<i32>>
Columns to sort
column_sizes: Option<AvroMap<i64>>
Map from column id to total size on disk
value_counts: Option<AvroMap<i64>>
Map from column id to number of values in the column (including null and NaN values)
null_value_counts: Option<AvroMap<i64>>
Map from column id to number of null values
nan_value_counts: Option<AvroMap<i64>>
Map from column id to number of NaN values
lower_bounds: Option<AvroMap<ByteBuf>>
Map from column id to lower bound in the column
upper_bounds: Option<AvroMap<ByteBuf>>
Map from column id to upper bound in the column
key_metadata: Option<ByteBuf>
Implementation specific key metadata for encryption
split_offsets: Option<Vec<i64>>
Split offsets for the data file.
sort_order_id: Option<i32>
ID representing sort order for this file
Implementations§
Trait Implementations§
Source§impl Clone for DataFileV1
impl Clone for DataFileV1
Source§fn clone(&self) -> DataFileV1
fn clone(&self) -> DataFileV1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DataFileV1
impl Debug for DataFileV1
Source§impl<'de> Deserialize<'de> for DataFileV1
impl<'de> Deserialize<'de> for DataFileV1
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
Source§impl From<DataFile> for DataFileV1
impl From<DataFile> for DataFileV1
Source§impl From<DataFileV1> for DataFileV2
impl From<DataFileV1> for DataFileV2
Source§fn from(v1: DataFileV1) -> Self
fn from(v1: DataFileV1) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DataFileV1
impl PartialEq for DataFileV1
Source§impl Serialize for DataFileV1
impl Serialize for DataFileV1
impl StructuralPartialEq for DataFileV1
Auto Trait Implementations§
impl Freeze for DataFileV1
impl RefUnwindSafe for DataFileV1
impl Send for DataFileV1
impl Sync for DataFileV1
impl Unpin for DataFileV1
impl UnwindSafe for DataFileV1
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> 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