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§
Sourcefn 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 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
Sourcefn 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_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