pub struct Snapshot { /* private fields */ }Expand description
A snapshot represents the state of a table at some time and is used to access the complete set of data files in the table.
Implementations§
Source§impl Snapshot
Auto-generated by derive_getters::Getters.
impl Snapshot
Auto-generated by derive_getters::Getters.
Sourcepub fn snapshot_id(&self) -> &i64
pub fn snapshot_id(&self) -> &i64
A unique long ID
Sourcepub fn parent_snapshot_id(&self) -> &Option<i64>
pub fn parent_snapshot_id(&self) -> &Option<i64>
The snapshot ID of the snapshot’s parent. Omitted for any snapshot with no parent
Sourcepub fn sequence_number(&self) -> &i64
pub fn sequence_number(&self) -> &i64
A monotonically increasing long that tracks the order of changes to a table.
Sourcepub fn timestamp_ms(&self) -> &i64
pub fn timestamp_ms(&self) -> &i64
A timestamp when the snapshot was created, used for garbage collection and table inspection
Sourcepub fn manifest_list(&self) -> &String
pub fn manifest_list(&self) -> &String
The location of a manifest list for this snapshot that tracks manifest files with additional metadata.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Snapshot
impl<'de> Deserialize<'de> for Snapshot
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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