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

Enum datafusion::logical::Expr[][src]

pub enum Expr {
    Column(usize),
    Literal(ScalarValue),
    BinaryExpr {
        left: Rc<Expr>,
        op: Operator,
        right: Rc<Expr>,
    },
    IsNotNull(Rc<Expr>),
    IsNull(Rc<Expr>),
    Cast {
        expr: Rc<Expr>,
        data_type: DataType,
    },
    Sort {
        expr: Rc<Expr>,
        asc: bool,
    },
    ScalarFunction {
        name: String,
        args: Vec<Expr>,
        return_type: DataType,
    },
    AggregateFunction {
        name: String,
        args: Vec<Expr>,
        return_type: DataType,
    },
}

Relation Expression

Variants

index into a value within the row or complex value

literal value

binary expression e.g. "age > 21"

Fields of BinaryExpr

unary IS NOT NULL

unary IS NULL

cast a value to a different type

Fields of Cast

sort expression

Fields of Sort

scalar function

Fields of ScalarFunction

aggregate function

Fields of AggregateFunction

Methods

impl Expr
[src]

Trait Implementations

impl Clone for Expr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Expr
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Expr
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for Expr

impl !Sync for Expr