Enum polars_plan::logical_plan::AExpr
source · pub enum AExpr {
Show 19 variants
Explode(Node),
Alias(Node, Arc<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(Node, Arc<str>)
Column(Arc<str>)
Literal(LiteralValue)
BinaryExpr
Cast
Sort
Take
SortBy
Filter
Agg(AAggExpr)
Ternary
AnonymousFunction
Fields
§
options: FunctionOptions