pub enum IcebergTransactionMode {
None,
Snapshot,
Catchup,
Always,
}Expand description
Iceberg table transaction mode.
Determines how the connector breaks up its input into Feldera transactions.
none- the connector does not group its input into transactions.snapshot- ingest the initial snapshot in one or more transactions (see below). Changes ingested afterward, in the follow phase, are not grouped into transactions.catchup- ingest the initial snapshot likesnapshot. In the follow phase, the connector batches all currently available table commits into a single transaction. Once that transaction completes, it checks for commits added since the transaction began, ingests them in the next transaction, and repeats continuously. Most efficient for backfill and steady-state following.always- ingest the initial snapshot likesnapshot. In the follow phase, each table commit is ingested in its own transaction.
§How the table snapshot is ingested using transactions
For the initial snapshot (snapshot, catchup, and always all behave the same), 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.
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 moreSource§impl Debug for IcebergTransactionMode
impl Debug for IcebergTransactionMode
Source§impl Default for IcebergTransactionMode
impl Default for IcebergTransactionMode
Source§fn default() -> IcebergTransactionMode
fn default() -> IcebergTransactionMode
Returns the “default value” for a type. Read more
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 PartialEq for IcebergTransactionMode
impl PartialEq for IcebergTransactionMode
Source§impl Serialize for IcebergTransactionMode
impl Serialize for IcebergTransactionMode
impl StructuralPartialEq for IcebergTransactionMode
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,
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.