Operator

Trait Operator 

Source
pub trait Operator: Send + Sync {
    // Required methods
    fn id(&self) -> FlowNodeId;
    fn apply<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        txn: &'life1 mut FlowTransaction,
        change: FlowChange,
        evaluator: &'life2 StandardRowEvaluator,
    ) -> Pin<Box<dyn Future<Output = Result<FlowChange>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn get_rows<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        txn: &'life1 mut FlowTransaction,
        rows: &'life2 [RowNumber],
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Option<Row>>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

Source

fn id(&self) -> FlowNodeId

Source

fn apply<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, txn: &'life1 mut FlowTransaction, change: FlowChange, evaluator: &'life2 StandardRowEvaluator, ) -> Pin<Box<dyn Future<Output = Result<FlowChange>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn get_rows<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, txn: &'life1 mut FlowTransaction, rows: &'life2 [RowNumber], ) -> Pin<Box<dyn Future<Output = Result<Vec<Option<Row>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§