pub struct DataFile { /* private fields */ }
Expand description
DataFile found in Manifest.
Implementations§
source§impl DataFile
impl DataFile
Auto-generated by derive_getters::Getters
.
sourcepub fn file_format(&self) -> &FileFormat
pub fn file_format(&self) -> &FileFormat
String file format name, avro, orc or parquet
sourcepub fn partition(&self) -> &Struct
pub fn partition(&self) -> &Struct
Partition data tuple, schema based on the partition spec output using partition field ids for the struct field ids
sourcepub fn record_count(&self) -> &i64
pub fn record_count(&self) -> &i64
Number of records in this file
sourcepub fn file_size_in_bytes(&self) -> &i64
pub fn file_size_in_bytes(&self) -> &i64
Total file size in bytes
sourcepub fn column_sizes(&self) -> &Option<AvroMap<i64>>
pub fn column_sizes(&self) -> &Option<AvroMap<i64>>
Map from column id to total size on disk
sourcepub fn value_counts(&self) -> &Option<AvroMap<i64>>
pub fn value_counts(&self) -> &Option<AvroMap<i64>>
Map from column id to number of values in the column (including null and NaN values)
sourcepub fn null_value_counts(&self) -> &Option<AvroMap<i64>>
pub fn null_value_counts(&self) -> &Option<AvroMap<i64>>
Map from column id to number of null values
sourcepub fn nan_value_counts(&self) -> &Option<AvroMap<i64>>
pub fn nan_value_counts(&self) -> &Option<AvroMap<i64>>
Map from column id to number of NaN values
sourcepub fn distinct_counts(&self) -> &Option<AvroMap<i64>>
pub fn distinct_counts(&self) -> &Option<AvroMap<i64>>
Map from column id to number of distinct values in the column.
sourcepub fn lower_bounds(&self) -> &Option<HashMap<i32, Value>>
pub fn lower_bounds(&self) -> &Option<HashMap<i32, Value>>
Map from column id to lower bound in the column
sourcepub fn upper_bounds(&self) -> &Option<HashMap<i32, Value>>
pub fn upper_bounds(&self) -> &Option<HashMap<i32, Value>>
Map from column id to upper bound in the column
sourcepub fn key_metadata(&self) -> &Option<ByteBuf>
pub fn key_metadata(&self) -> &Option<ByteBuf>
Implementation specific key metadata for encryption
sourcepub fn split_offsets(&self) -> &Option<Vec<i64>>
pub fn split_offsets(&self) -> &Option<Vec<i64>>
Split offsets for the data file.
sourcepub fn equality_ids(&self) -> &Option<Vec<i32>>
pub fn equality_ids(&self) -> &Option<Vec<i32>>
Field ids used to determine row equality in equality delete files.
sourcepub fn sort_order_id(&self) -> &Option<i32>
pub fn sort_order_id(&self) -> &Option<i32>
ID representing sort order for this file
Trait Implementations§
source§impl From<DataFile> for DataFileV1
impl From<DataFile> for DataFileV1
source§fn from(value: DataFile) -> DataFileV1
fn from(value: DataFile) -> DataFileV1
source§impl From<DataFile> for DataFileV2
impl From<DataFile> for DataFileV2
source§fn from(value: DataFile) -> DataFileV2
fn from(value: DataFile) -> DataFileV2
source§impl PartialEq for DataFile
impl PartialEq for DataFile
impl StructuralPartialEq for DataFile
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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