[−][src]Trait datafusion::execution::physical_plan::PhysicalExpr
Expression that can be evaluated against a RecordBatch
Required methods
fn name(&self) -> String
Get the name to use in a schema to represent the result of this expression
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>
Decide whehter this expression is nullable, given the schema of the input
fn evaluate(&self, batch: &RecordBatch) -> Result<ArrayRef>
Evaluate an expression against a RecordBatch
Provided methods
fn to_schema_field(&self, input_schema: &Schema) -> Result<Field>
Generate schema Field type for this expression
Implementors
impl PhysicalExpr for Alias
[src]
fn name(&self) -> String
[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 BinaryExpr
[src]
fn name(&self) -> String
[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 name(&self) -> String
[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 name(&self) -> String
[src]
Get the name to use in a schema to represent the result of this expression
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