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::physical_plan::PhysicalExpr - Rust
[go: Go Back, main page]

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

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

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

Loading content...

Implementors

impl PhysicalExpr for BinaryExpr[src]

impl PhysicalExpr for CastExpr[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

impl PhysicalExpr for IsNotNullExpr[src]

impl PhysicalExpr for IsNullExpr[src]

impl PhysicalExpr for Literal[src]

impl PhysicalExpr for NotExpr[src]

impl PhysicalExpr for ScalarFunctionExpr[src]

Loading content...