pub struct ManifestFile {Show 16 fields
pub manifest_path: String,
pub manifest_length: i64,
pub partition_spec_id: i32,
pub content: ManifestContentType,
pub sequence_number: i64,
pub min_sequence_number: i64,
pub added_snapshot_id: i64,
pub added_files_count: Option<u32>,
pub existing_files_count: Option<u32>,
pub deleted_files_count: Option<u32>,
pub added_rows_count: Option<u64>,
pub existing_rows_count: Option<u64>,
pub deleted_rows_count: Option<u64>,
pub partitions: Option<Vec<FieldSummary>>,
pub key_metadata: Option<Vec<u8>>,
pub first_row_id: Option<u64>,
}Expand description
Entry in a manifest list.
Fields§
§manifest_path: Stringfield: 500
Location of the manifest file
manifest_length: i64field: 501
Length of the manifest file in bytes
partition_spec_id: i32field: 502
ID of a partition spec used to write the manifest; must be listed in table metadata partition-specs
content: ManifestContentTypefield: 517
The type of files tracked by the manifest, either data or delete files; 0 for all v1 manifests
sequence_number: i64field: 515
The sequence number when the manifest was added to the table; use 0 when reading v1 manifest lists
min_sequence_number: i64field: 516
The minimum data sequence number of all live data or delete files in the manifest; use 0 when reading v1 manifest lists
added_snapshot_id: i64field: 503
ID of the snapshot where the manifest file was added
added_files_count: Option<u32>field: 504
Number of entries in the manifest that have status ADDED, when null this is assumed to be non-zero
existing_files_count: Option<u32>field: 505
Number of entries in the manifest that have status EXISTING (0), when null this is assumed to be non-zero
deleted_files_count: Option<u32>field: 506
Number of entries in the manifest that have status DELETED (2), when null this is assumed to be non-zero
added_rows_count: Option<u64>field: 512
Number of rows in all of files in the manifest that have status ADDED, when null this is assumed to be non-zero
existing_rows_count: Option<u64>field: 513
Number of rows in all of files in the manifest that have status EXISTING, when null this is assumed to be non-zero
deleted_rows_count: Option<u64>field: 514
Number of rows in all of files in the manifest that have status DELETED, when null this is assumed to be non-zero
partitions: Option<Vec<FieldSummary>>field: 507 element_field: 508
A list of field summaries for each partition field in the spec. Each field in the list corresponds to a field in the manifest file’s partition spec.
key_metadata: Option<Vec<u8>>field: 519
Implementation-specific key metadata for encryption
first_row_id: Option<u64>field 520
The starting _row_id to assign to rows added by ADDED data files
Implementations§
Source§impl ManifestFile
impl ManifestFile
Sourcepub fn has_added_files(&self) -> bool
pub fn has_added_files(&self) -> bool
Checks if the manifest file has any added files.
Sourcepub fn has_deleted_files(&self) -> bool
pub fn has_deleted_files(&self) -> bool
Checks whether this manifest contains entries with DELETED status.
Sourcepub fn has_existing_files(&self) -> bool
pub fn has_existing_files(&self) -> bool
Checks if the manifest file has any existed files.
Source§impl ManifestFile
impl ManifestFile
Trait Implementations§
Source§impl Clone for ManifestFile
impl Clone for ManifestFile
Source§fn clone(&self) -> ManifestFile
fn clone(&self) -> ManifestFile
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ManifestFile
impl Debug for ManifestFile
Source§impl Hash for ManifestFile
impl Hash for ManifestFile
Source§impl PartialEq for ManifestFile
impl PartialEq for ManifestFile
impl Eq for ManifestFile
impl StructuralPartialEq for ManifestFile
Auto Trait Implementations§
impl Freeze for ManifestFile
impl RefUnwindSafe for ManifestFile
impl Send for ManifestFile
impl Sync for ManifestFile
impl Unpin for ManifestFile
impl UnwindSafe for ManifestFile
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,
§impl<T> Downcast for Twhere
T: AsAny + ?Sized,
impl<T> Downcast for Twhere
T: AsAny + ?Sized,
§fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
Any.§fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
Any.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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