risingwave_connector::source::base

Trait AnySplitEnumerator

source
pub trait AnySplitEnumerator: Send {
    // Required methods
    fn list_splits<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<SplitImpl>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn on_drop_fragments<'life0, 'async_trait>(
        &'life0 mut self,
        _fragment_ids: Vec<u32>,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn on_finish_backfill<'life0, 'async_trait>(
        &'life0 mut self,
        _fragment_ids: Vec<u32>,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Dyn-compatible SplitEnumerator.

Required Methods§

source

fn list_splits<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = Result<Vec<SplitImpl>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn on_drop_fragments<'life0, 'async_trait>( &'life0 mut self, _fragment_ids: Vec<u32>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn on_finish_backfill<'life0, 'async_trait>( &'life0 mut self, _fragment_ids: Vec<u32>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§