pub trait PhysicalOperator: Send + Sync {
// Required methods
fn schema(&self) -> &Arc<Schema> ⓘ;
fn execute(&self, input: Vec<RecordBatch>) -> Result<Vec<RecordBatch>>;
fn children(&self) -> Vec<Arc<dyn PhysicalOperator>>;
}Expand description
Trait for physical operators that can be executed
Required Methods§
Sourcefn execute(&self, input: Vec<RecordBatch>) -> Result<Vec<RecordBatch>>
fn execute(&self, input: Vec<RecordBatch>) -> Result<Vec<RecordBatch>>
Execute the operator and produce output batches
Sourcefn children(&self) -> Vec<Arc<dyn PhysicalOperator>>
fn children(&self) -> Vec<Arc<dyn PhysicalOperator>>
Get children operators