ArrayEvaluation

Trait ArrayEvaluation 

Source
pub trait ArrayEvaluation:
    'static
    + Send
    + Sync {
    // Required method
    fn invoke<'life0, 'async_trait>(
        &'life0 self,
        mask: MaskFuture,
    ) -> Pin<Box<dyn Future<Output = VortexResult<ArrayRef>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Evaluates an expression against an array.

It is recommended to defer awaiting the input mask for as long as possible (ideally, after all I/O is complete). This allows other conjuncts the opportunity to refine the mask as much as possible before it is used.

§Post-conditions

The returned array MUST have length equal to the true count of the input mask.

Required Methods§

Source

fn invoke<'life0, 'async_trait>( &'life0 self, mask: MaskFuture, ) -> Pin<Box<dyn Future<Output = VortexResult<ArrayRef>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§