risingwave_batch::executor

Trait Executor

source
pub trait Executor: Send + 'static {
    // Required methods
    fn schema(&self) -> &Schema;
    fn identity(&self) -> &str;
    fn execute(self: Box<Self>) -> BoxedDataChunkStream;
}
Expand description

Refactoring of Executor using Stream.

Required Methods§

source

fn schema(&self) -> &Schema

Returns the schema of the executor’s return data.

Schema must be available before init.

source

fn identity(&self) -> &str

Identity string of the executor

source

fn execute(self: Box<Self>) -> BoxedDataChunkStream

Executes to return the data chunk stream.

The implementation should guaranteed that each DataChunk’s cardinality is not zero.

Implementors§

source§

impl Executor for DeleteExecutor

source§

impl Executor for ExpandExecutor

source§

impl Executor for FilterExecutor

source§

impl Executor for HopWindowExecutor

source§

impl Executor for IcebergScanExecutor

source§

impl Executor for InsertExecutor

source§

impl Executor for NestedLoopJoinExecutor

source§

impl Executor for LimitExecutor

source§

impl Executor for ManagedExecutor

source§

impl Executor for MaxOneRowExecutor

source§

impl Executor for MergeSortExecutor

source§

impl Executor for MySqlQueryExecutor

source§

impl Executor for SortExecutor

source§

impl Executor for PostgresQueryExecutor

source§

impl Executor for ProjectExecutor

source§

impl Executor for ProjectSetExecutor

source§

impl Executor for S3FileScanExecutor

source§

impl Executor for SortAggExecutor

source§

impl Executor for SortOverWindowExecutor

source§

impl Executor for SourceExecutor

source§

impl Executor for SysRowSeqScanExecutor

source§

impl Executor for TableFunctionExecutor

source§

impl Executor for BlockExecutor

source§

impl Executor for BusyLoopExecutor

source§

impl Executor for MockExecutor

source§

impl Executor for TopNExecutor

source§

impl Executor for UnionExecutor

source§

impl Executor for UpdateExecutor

source§

impl Executor for BufferChunkExecutor

source§

impl Executor for DummyExecutor

source§

impl Executor for WrapStreamExecutor

source§

impl Executor for ValuesExecutor

source§

impl<CS: 'static + Send + CreateSource, C: BatchTaskContext> Executor for GenericExchangeExecutor<CS, C>

source§

impl<CS: 'static + Send + CreateSource, C: BatchTaskContext> Executor for MergeSortExchangeExecutorImpl<CS, C>

source§

impl<K: HashKey + Send + Sync> Executor for HashAggExecutor<K>

source§

impl<K: HashKey> Executor for GroupTopNExecutor<K>

source§

impl<K: HashKey> Executor for DistributedLookupJoinExecutor<K>

source§

impl<K: HashKey> Executor for HashJoinExecutor<K>

source§

impl<K: HashKey> Executor for LocalLookupJoinExecutor<K>

source§

impl<S: StateStore> Executor for LogRowSeqScanExecutor<S>

source§

impl<S: StateStore> Executor for RowSeqScanExecutor<S>