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,
},
Gather {
expr: Node,
idx: Node,
returns_scalar: bool,
},
SortBy {
expr: Node,
by: Vec<Node>,
descending: 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>,
options: WindowType,
},
Wildcard,
Slice {
input: Node,
offset: Node,
length: Node,
},
Len,
Nth(i64),
}
Variants§
Explode(Node)
Alias(Node, Arc<str>)
Column(Arc<str>)
Literal(LiteralValue)
BinaryExpr
Cast
Sort
Gather
SortBy
Filter
Agg(AAggExpr)
Ternary
AnonymousFunction
Fields
§
options: FunctionOptions
Function
Window
Wildcard
Slice
Len
Nth(i64)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AExpr
impl !RefUnwindSafe for AExpr
impl Send for AExpr
impl Sync for AExpr
impl Unpin for AExpr
impl !UnwindSafe for AExpr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more