pub enum AExpr {
Show 19 variants Explode(Node), Alias(NodeArc<str>), Column(Arc<str>), Literal(LiteralValue), BinaryExpr { left: Node, op: Operator, right: Node, }, Cast { expr: Node, data_type: DataType, strict: bool, }, Sort { expr: Node, options: SortOptions, }, Take { expr: Node, idx: Node, }, SortBy { expr: Node, by: Vec<Node>, reverse: Vec<bool>, }, Filter { input: Node, by: Node, }, Agg(AAggExpr), Ternary { predicate: Node, truthy: Node, falsy: Node, }, AnonymousFunction { input: Vec<Node>, function: SpecialEq<Arc<dyn SeriesUdf>>, output_type: GetOutput, options: FunctionOptions, }, Function { input: Vec<Node>, function: FunctionExpr, options: FunctionOptions, }, Window { function: Node, partition_by: Vec<Node>, order_by: Option<Node>, options: WindowOptions, }, Wildcard, Slice { input: Node, offset: Node, length: Node, }, Count, Nth(i64),
}

Variants§

§

Explode(Node)

§

Alias(NodeArc<str>)

§

Column(Arc<str>)

§

Literal(LiteralValue)

§

BinaryExpr

Fields

§left: Node
§right: Node
§

Cast

Fields

§expr: Node
§data_type: DataType
§strict: bool
§

Sort

Fields

§expr: Node
§options: SortOptions
§

Take

Fields

§expr: Node
§idx: Node
§

SortBy

Fields

§expr: Node
§by: Vec<Node>
§reverse: Vec<bool>
§

Filter

Fields

§input: Node
§by: Node
§

Agg(AAggExpr)

§

Ternary

Fields

§predicate: Node
§truthy: Node
§falsy: Node
§

AnonymousFunction

Fields

§input: Vec<Node>
§function: SpecialEq<Arc<dyn SeriesUdf>>
§output_type: GetOutput
§

Function

Fields

§input: Vec<Node>

function arguments

§function: FunctionExpr

function to apply

§

Window

Fields

§function: Node
§partition_by: Vec<Node>
§order_by: Option<Node>
§options: WindowOptions
§

Wildcard

§

Slice

Fields

§input: Node
§offset: Node
§length: Node
§

Count

§

Nth(i64)

Implementations§

This should be a 1 on 1 copy of the get_type method of Expr until Expr is completely phased out.

Get Field result of the expression. The schema is the input data.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.