pub enum IcebergTransactionMode {
None,
Snapshot,
}Expand description
Iceberg table transaction mode.
Determines how the connector breaks up its input into Feldera transactions.
none- the connector does not break up its input into transactions.snapshot- ingest the initial snapshot of the table in one or several transactions.
§How the table snapshot is ingested using transactions
When transaction_mode is set to snapshot, the connector ingests the snapshot in one
or several transactions, depending on timestamp_column. If timestamp_column is not set,
the whole snapshot is ingested in a single Feldera transaction. If timestamp_column is set,
the connector ingests the snapshot in a series of timestamp ranges of width equal to the
LATENESS attribute of the column, each range in a separate transaction.
JSON schema
{
"description": "Iceberg table transaction mode.\n\nDetermines how the connector breaks up its input into Feldera transactions.\n\n* `none` - the connector does not break up its input into transactions.\n* `snapshot` - ingest the initial snapshot of the table in one or several transactions.\n\n# How the table snapshot is ingested using transactions\n\nWhen `transaction_mode` is set to `snapshot`, the connector ingests the snapshot in one\nor several transactions, depending on `timestamp_column`. If `timestamp_column` is not set,\nthe whole snapshot is ingested in a single Feldera transaction. If `timestamp_column` is set,\nthe connector ingests the snapshot in a series of timestamp ranges of width equal to the\n`LATENESS` attribute of the column, each range in a separate transaction.",
"type": "string",
"enum": [
"none",
"snapshot"
]
}Variants§
Trait Implementations§
Source§impl Clone for IcebergTransactionMode
impl Clone for IcebergTransactionMode
Source§fn clone(&self) -> IcebergTransactionMode
fn clone(&self) -> IcebergTransactionMode
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 moreimpl Copy for IcebergTransactionMode
Source§impl Debug for IcebergTransactionMode
impl Debug for IcebergTransactionMode
Source§impl<'de> Deserialize<'de> for IcebergTransactionMode
impl<'de> Deserialize<'de> for IcebergTransactionMode
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 IcebergTransactionMode
Source§impl From<&IcebergTransactionMode> for IcebergTransactionMode
impl From<&IcebergTransactionMode> for IcebergTransactionMode
Source§fn from(value: &IcebergTransactionMode) -> Self
fn from(value: &IcebergTransactionMode) -> Self
Converts to this type from the input type.
Source§impl FromStr for IcebergTransactionMode
impl FromStr for IcebergTransactionMode
Source§impl Hash for IcebergTransactionMode
impl Hash for IcebergTransactionMode
Source§impl Ord for IcebergTransactionMode
impl Ord for IcebergTransactionMode
Source§fn cmp(&self, other: &IcebergTransactionMode) -> Ordering
fn cmp(&self, other: &IcebergTransactionMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IcebergTransactionMode
impl PartialEq for IcebergTransactionMode
Source§impl PartialOrd for IcebergTransactionMode
impl PartialOrd for IcebergTransactionMode
Source§impl Serialize for IcebergTransactionMode
impl Serialize for IcebergTransactionMode
impl StructuralPartialEq for IcebergTransactionMode
Source§impl ToString for IcebergTransactionMode
impl ToString for IcebergTransactionMode
Source§impl TryFrom<&String> for IcebergTransactionMode
impl TryFrom<&String> for IcebergTransactionMode
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for IcebergTransactionMode
impl TryFrom<&str> for IcebergTransactionMode
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for IcebergTransactionMode
impl TryFrom<String> for IcebergTransactionMode
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for IcebergTransactionMode
impl RefUnwindSafe for IcebergTransactionMode
impl Send for IcebergTransactionMode
impl Sync for IcebergTransactionMode
impl Unpin for IcebergTransactionMode
impl UnsafeUnpin for IcebergTransactionMode
impl UnwindSafe for IcebergTransactionMode
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.