risingwave_storage::table

Trait TableIter

source
pub trait TableIter: Send {
    // Required method
    fn next_row<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = StorageResult<Option<OwnedRow>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn next_row<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = StorageResult<Option<OwnedRow>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

source§

impl<S: PkAndRowStream + Unpin> TableIter for S

The row iterator of the storage table. The wrapper of stream item StorageResult<KeyedRow<Bytes>> if pk is not persisted.