[−][src]Trait datafusion::physical_plan::PhysicalExpr
Expression that can be evaluated against a RecordBatch A Physical expression knows its type, nullability and how to evaluate itself.
Required methods
fn data_type(&self, input_schema: &Schema) -> Result<DataType>
Get the data type of this expression, given the schema of the input
fn nullable(&self, input_schema: &Schema) -> Result<bool>
Determine whether this expression is nullable, given the schema of the input
fn evaluate(&self, batch: &RecordBatch) -> Result<ArrayRef>
Evaluate an expression against a RecordBatch
Implementors
impl PhysicalExpr for BinaryExpr
[src]
fn data_type(&self, input_schema: &Schema) -> Result<DataType>
[src]
fn nullable(&self, input_schema: &Schema) -> Result<bool>
[src]
fn evaluate(&self, batch: &RecordBatch) -> Result<ArrayRef>
[src]
impl PhysicalExpr for CastExpr
[src]
fn data_type(&self, _input_schema: &Schema) -> Result<DataType>
[src]
fn nullable(&self, input_schema: &Schema) -> Result<bool>
[src]
fn evaluate(&self, batch: &RecordBatch) -> Result<ArrayRef>
[src]
impl PhysicalExpr for Column
[src]
fn data_type(&self, input_schema: &Schema) -> Result<DataType>
[src]
Get the data type of this expression, given the schema of the input
fn nullable(&self, input_schema: &Schema) -> Result<bool>
[src]
Decide whehter this expression is nullable, given the schema of the input
fn evaluate(&self, batch: &RecordBatch) -> Result<ArrayRef>
[src]
Evaluate the expression