Trait lance_index::vector::transform::Transformer
source · pub trait Transformer: Debug + Sync + Send {
// Required method
fn transform<'life0, 'life1, 'async_trait>(
&'life0 self,
batch: &'life1 RecordBatch
) -> Pin<Box<dyn Future<Output = Result<RecordBatch>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Transform of a Vector Matrix.
Required Methods§
sourcefn transform<'life0, 'life1, 'async_trait>(
&'life0 self,
batch: &'life1 RecordBatch
) -> Pin<Box<dyn Future<Output = Result<RecordBatch>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn transform<'life0, 'life1, 'async_trait>(
&'life0 self,
batch: &'life1 RecordBatch
) -> Pin<Box<dyn Future<Output = Result<RecordBatch>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Transform a RecordBatch of vectors