Enum iceberg_rust::spec::snapshot::Operation
source · pub enum Operation {
Append,
Replace,
Overwrite,
Delete,
}
Expand description
The operation field is used by some operations, like snapshot expiration, to skip processing certain snapshots.
Variants§
Append
Only data files were added and no files were removed.
Replace
Data and delete files were added and removed without changing table data; i.e., compaction, changing the data file format, or relocating data files.
Overwrite
Data and delete files were added and removed in a logical overwrite operation.
Delete
Data files were removed and their contents logically deleted and/or delete files were added to delete rows.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Operation
impl<'de> Deserialize<'de> for Operation
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Operation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Operation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Operation
impl PartialEq for Operation
source§impl Serialize for Operation
impl Serialize for Operation
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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
impl Eq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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
§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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
key
and return true
if they are equal.