[][src]Enum datafusion::logicalplan::Expr

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 PartialEq<Expr> for Expr
[src]

impl Clone for Expr
[src]

Performs copy-assignment from source. Read more

impl Debug for Expr
[src]

impl<'de> Deserialize<'de> for Expr
[src]

impl Serialize for Expr
[src]

Auto Trait Implementations

impl !Send for Expr

impl !Sync for Expr

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]