pub struct DataFileV2 {Show 16 fields
pub content: Content,
pub file_path: String,
pub file_format: FileFormat,
pub partition: Struct,
pub record_count: i64,
pub file_size_in_bytes: i64,
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 equality_ids: Option<Vec<i32>>,
pub sort_order_id: Option<i32>,
}
Expand description
DataFile found in Manifest.
Fields§
§content: Content
Type of content in data file.
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
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.
equality_ids: Option<Vec<i32>>
Field ids used to determine row equality in equality delete files.
sort_order_id: Option<i32>
ID representing sort order for this file
Implementations§
Trait Implementations§
Source§impl Clone for DataFileV2
impl Clone for DataFileV2
Source§fn clone(&self) -> DataFileV2
fn clone(&self) -> DataFileV2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DataFileV2
impl Debug for DataFileV2
Source§impl<'de> Deserialize<'de> for DataFileV2
impl<'de> Deserialize<'de> for DataFileV2
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>,
Source§impl From<DataFile> for DataFileV2
impl From<DataFile> for DataFileV2
Source§impl From<DataFileV1> for DataFileV2
impl From<DataFileV1> for DataFileV2
Source§fn from(v1: DataFileV1) -> Self
fn from(v1: DataFileV1) -> Self
Source§impl PartialEq for DataFileV2
impl PartialEq for DataFileV2
Source§impl Serialize for DataFileV2
impl Serialize for DataFileV2
impl StructuralPartialEq for DataFileV2
Auto Trait Implementations§
impl Freeze for DataFileV2
impl RefUnwindSafe for DataFileV2
impl Send for DataFileV2
impl Sync for DataFileV2
impl Unpin for DataFileV2
impl UnwindSafe for DataFileV2
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
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>
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>
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