Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
datafusion::execution::physical_plan::PhysicalExpr - Rust
[go: Go Back, main page]

[][src]Trait datafusion::execution::physical_plan::PhysicalExpr

pub trait PhysicalExpr: Send + Sync {
    fn name(&self) -> String;
fn data_type(&self, input_schema: &Schema) -> Result<DataType>;
fn evaluate(&self, batch: &RecordBatch) -> Result<ArrayRef>; }

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 evaluate(&self, batch: &RecordBatch) -> Result<ArrayRef>

Evaluate an expression against a RecordBatch

Loading content...

Implementors

impl PhysicalExpr for BinaryExpr[src]

impl PhysicalExpr for CastExpr[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 evaluate(&self, batch: &RecordBatch) -> Result<ArrayRef>[src]

Evaluate the expression

impl PhysicalExpr for Literal[src]

Loading content...