deltalake_core::data_catalog

Trait 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 Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: '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 Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Get the table storage location from the Data Catalog

Implementors§