IcebergStore

Trait IcebergStore 

Source
pub trait IcebergStore {
    // Required methods
    fn get_metadata<'life0, 'life1, 'async_trait>(
        &'life0 self,
        location: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<TabularMetadata, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn put_metadata<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        location: &'life1 str,
        metadata: TabularMetadataRef<'life2>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn put_version_hint<'life0, 'life1, 'async_trait>(
        &'life0 self,
        location: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Simplify interaction with iceberg files

Required Methods§

Source

fn get_metadata<'life0, 'life1, 'async_trait>( &'life0 self, location: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<TabularMetadata, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Get metadata file from object_storage

Source

fn put_metadata<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, location: &'life1 str, metadata: TabularMetadataRef<'life2>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Write metadata file to object_storage

Source

fn put_version_hint<'life0, 'life1, 'async_trait>( &'life0 self, location: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Write version-hint file to object_storage

Implementors§