Trait deltalake::data_catalog::DataCatalog

source ·
pub trait DataCatalog: Send + Sync + Debug {
    // Required method
    fn get_table_storage_location<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        catalog_id: Option<String>,
        database_name: &'life1 str,
        table_name: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<String, DataCatalogError>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             Self: 'async_trait;
}
Expand description

Abstractions for data catalog for the Delta table. To add support for new cloud, simply implement this trait.

Required Methods§

source

fn get_table_storage_location<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, catalog_id: Option<String>, database_name: &'life1 str, table_name: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<String, DataCatalogError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Get the table storage location from the Data Catalog

Implementors§