Struct iceberg_rust_spec::spec::manifest::DataFileV1
source · pub struct DataFileV1 {Show 18 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 distinct_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: StringFull URI for the file with a FS scheme.
file_format: FileFormatString file format name, avro, orc or parquet
partition: StructPartition data tuple, schema based on the partition spec output using partition field ids for the struct field ids
record_count: i64Number of records in this file
file_size_in_bytes: i64Total file size in bytes
block_size_in_bytes: i64Block 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
distinct_counts: Option<AvroMap<i64>>Map from column id to number of distinct values in the column.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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>,
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
source§impl PartialEq for DataFileV1
impl PartialEq for DataFileV1
source§fn eq(&self, other: &DataFileV1) -> bool
fn eq(&self, other: &DataFileV1) -> bool
self and other values to be equal, and is used
by ==.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
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