Skip to main content

Operator

Trait Operator 

Source
pub trait Operator {
    // Required methods
    fn next_batch(&mut self) -> ExecutorResult<Option<ResultBatch>>;
    fn columns(&self) -> &[String];
}
Expand description

Operator in the execution pipeline.

Required Methods§

Source

fn next_batch(&mut self) -> ExecutorResult<Option<ResultBatch>>

Get the next batch of results.

Source

fn columns(&self) -> &[String]

Get output column names.

Implementors§