Struct iceberg_rust::spec::manifest::DataFile
source · 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