iceberg::writer

Trait IcebergWriterBuilder

Source
pub trait IcebergWriterBuilder<I = RecordBatch, O = Vec<DataFile>>:
    Send
    + Clone
    + 'static {
    type R: IcebergWriter<I, O>;

    // Required method
    fn build<'async_trait>(
        self,
    ) -> Pin<Box<dyn Future<Output = Result<Self::R>> + Send + 'async_trait>>
       where Self: 'async_trait;
}
Expand description

The builder for iceberg writer.

Required Associated Types§

Source

type R: IcebergWriter<I, O>

The associated writer type.

Required Methods§

Source

fn build<'async_trait>( self, ) -> Pin<Box<dyn Future<Output = Result<Self::R>> + Send + 'async_trait>>
where Self: 'async_trait,

Build the iceberg writer.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§