pub struct ManifestListEntry {
Show 16 fields pub format_version: FormatVersion, pub manifest_path: String, pub manifest_length: i64, pub partition_spec_id: i32, pub content: Content, pub sequence_number: i64, pub min_sequence_number: i64, pub added_snapshot_id: i64, pub added_files_count: Option<i32>, pub existing_files_count: Option<i32>, pub deleted_files_count: Option<i32>, pub added_rows_count: Option<i64>, pub existing_rows_count: Option<i64>, pub deleted_rows_count: Option<i64>, pub partitions: Option<Vec<FieldSummary>>, pub key_metadata: Option<ByteBuf>,
}
Expand description

A manifest list includes summary metadata that can be used to avoid scanning all of the manifests in a snapshot when planning a table scan. This includes the number of added, existing, and deleted files, and a summary of values for each field of the partition spec used to write the manifest.

Fields§

§format_version: FormatVersion

Table format version

§manifest_path: String

Location of the manifest file

§manifest_length: i64

Length of the manifest file in bytes

§partition_spec_id: i32

ID of a partition spec used to write the manifest; must be listed in table metadata partition-specs

§content: Content

The type of files tracked by the manifest, either data or delete files; 0 for all v1 manifests

§sequence_number: i64

The sequence number when the manifest was added to the table; use 0 when reading v1 manifest lists

§min_sequence_number: i64

The minimum sequence number of all data or delete files in the manifest; use 0 when reading v1 manifest lists

§added_snapshot_id: i64

ID of the snapshot where the manifest file was added

§added_files_count: Option<i32>

Number of entries in the manifest that have status ADDED (1), when null this is assumed to be non-zero

§existing_files_count: Option<i32>

Number of entries in the manifest that have status EXISTING (0), when null this is assumed to be non-zero

§deleted_files_count: Option<i32>

Number of entries in the manifest that have status DELETED (2), when null this is assumed to be non-zero

§added_rows_count: Option<i64>

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<i64>

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<i64>

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>>

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<ByteBuf>

Implementation-specific key metadata for encryption

Implementations§

source§

impl ManifestListEntry

source§

impl ManifestListEntry

source

pub fn schema(format_version: &FormatVersion) -> Result<Schema, Error>

Get schema of the manifest list

Trait Implementations§

source§

impl Clone for ManifestListEntry

source§

fn clone(&self) -> ManifestListEntry

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ManifestListEntry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<ManifestListEntry> for ManifestListEntryEnum

source§

fn from(value: ManifestListEntry) -> ManifestListEntryEnum

Converts to this type from the input type.
source§

impl PartialEq for ManifestListEntry

source§

fn eq(&self, other: &ManifestListEntry) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ManifestListEntry

source§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ManifestListEntry

source§

impl StructuralPartialEq for ManifestListEntry

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,