deltalake_core::operations::transaction

Trait TableReference

Source
pub trait TableReference: Send + Sync {
    // Required methods
    fn config(&self) -> TableConfig<'_>;
    fn protocol(&self) -> &Protocol;
    fn metadata(&self) -> &Metadata;
    fn eager_snapshot(&self) -> &EagerSnapshot;
}
Expand description

Reference to some structure that contains mandatory attributes for performing a commit.

Required Methods§

Source

fn config(&self) -> TableConfig<'_>

Well known table configuration

Source

fn protocol(&self) -> &Protocol

Get the table protocol of the snapshot

Source

fn metadata(&self) -> &Metadata

Get the table metadata of the snapshot

Source

fn eager_snapshot(&self) -> &EagerSnapshot

Try to cast this table reference to a EagerSnapshot

Implementors§