pub enum DeltaTableUpdate {
SetProperties {
updates: BTreeMap<String, String>,
},
RemoveProperties {
removals: Vec<String>,
},
SetColumns {
columns: DeltaStructType,
},
SetTableComment {
comment: String,
},
AddCommit {
commit: DeltaCommit,
uniform: Option<DeltaUniformMetadata>,
},
SetLatestBackfilledVersion {
latest_published_version: i64,
},
SetProtocol {
protocol: DeltaProtocol,
},
SetDomainMetadata {
updates: DeltaDomainMetadataUpdates,
},
RemoveDomainMetadata {
domains: Vec<String>,
},
SetPartitionColumns {
partition_columns: Vec<String>,
},
UpdateMetadataSnapshotVersion {
last_commit_version: i64,
last_commit_timestamp_ms: i64,
},
}Expand description
A single update action. Tagged by the action discriminator, matching the
propertyName: action + const mapping in delta.yaml.
Variants§
SetProperties
RemoveProperties
SetColumns
Fields
§
columns: DeltaStructTypeSetTableComment
AddCommit
SetLatestBackfilledVersion
SetProtocol
Fields
§
protocol: DeltaProtocolSetDomainMetadata
Fields
§
updates: DeltaDomainMetadataUpdatesRemoveDomainMetadata
SetPartitionColumns
UpdateMetadataSnapshotVersion
Trait Implementations§
Source§impl Clone for DeltaTableUpdate
impl Clone for DeltaTableUpdate
Source§fn clone(&self) -> DeltaTableUpdate
fn clone(&self) -> DeltaTableUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeltaTableUpdate
impl Debug for DeltaTableUpdate
Source§impl<'de> Deserialize<'de> for DeltaTableUpdate
impl<'de> Deserialize<'de> for DeltaTableUpdate
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
Source§impl PartialEq for DeltaTableUpdate
impl PartialEq for DeltaTableUpdate
Source§impl Serialize for DeltaTableUpdate
impl Serialize for DeltaTableUpdate
impl StructuralPartialEq for DeltaTableUpdate
Auto Trait Implementations§
impl Freeze for DeltaTableUpdate
impl RefUnwindSafe for DeltaTableUpdate
impl Send for DeltaTableUpdate
impl Sync for DeltaTableUpdate
impl Unpin for DeltaTableUpdate
impl UnsafeUnpin for DeltaTableUpdate
impl UnwindSafe for DeltaTableUpdate
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