Expand description
Constructors for expressions whose children have already been bound and type-checked.
These mirror the constructors in crate::expr and panic when the supplied children do not
form a well-typed expression. Use BoundExpression::try_new when construction must be
fallible.
Functions§
- and
- Creates a bound boolean AND expression.
- and_
collect - Collects bound expressions into a balanced tree of boolean AND expressions.
- between
- Creates a bound expression that checks if values are between two bounds.
- binary
- Creates a bound binary expression with the given operator.
- byte_
length - Creates a bound expression that computes each element’s byte length.
- case_
when - Creates a bound CASE WHEN expression with one WHEN/THEN pair and an ELSE value.
- case_
when_ no_ else - Creates a bound CASE WHEN expression with one WHEN/THEN pair and no ELSE value.
- cast
- Creates a bound expression that casts values to a target dtype.
- checked_
add - Creates a bound checked-add expression.
- col
- Creates a bound expression that accesses a field from a root scope with the given dtype.
- dynamic
- Creates a bound dynamic comparison expression.
- dynamic_
with_ options - Creates a bound dynamic comparison expression from its complete options.
- eq
- Creates a bound equality expression.
- ext_
storage - Creates a bound expression that extracts an extension array’s storage values.
- fill_
null - Creates a bound expression that replaces null values with a fill value.
- get_
item - Creates a bound expression that extracts a named field from a struct expression.
- gt
- Creates a bound greater-than expression.
- gt_eq
- Creates a bound greater-than-or-equal expression.
- ilike
- Creates a bound case-insensitive SQL ILIKE expression.
- is_
not_ null - Creates a bound expression that checks for non-null values.
- is_null
- Creates a bound expression that checks for null values.
- like
- Creates a bound SQL LIKE expression.
- list_
contains - Creates a bound expression that checks if a value is contained in a list.
- list_
length - Creates a bound expression that computes the number of elements in each list.
- list_
sum - Creates a bound expression that sums the elements of each list.
- list_
sum_ opts - Creates a bound list-sum expression with explicit aggregate options.
- lit
- Creates a bound literal expression.
- lt
- Creates a bound less-than expression.
- lt_eq
- Creates a bound less-than-or-equal expression.
- mask
- Creates a bound mask expression.
- merge
- Creates a bound expression that merges struct expressions.
- merge_
opts - Creates a bound merge expression with explicit duplicate handling.
- nested_
case_ when - Creates a bound n-ary CASE WHEN expression from WHEN/THEN pairs and an optional ELSE value.
- not
- Creates a bound expression that logically inverts boolean values.
- not_eq
- Creates a bound inequality expression.
- not_
ilike - Creates a bound negated case-insensitive SQL NOT ILIKE expression.
- not_
like - Creates a bound negated SQL NOT LIKE expression.
- or
- Creates a bound boolean OR expression.
- or_
collect - Collects bound expressions into a balanced tree of boolean OR expressions.
- pack
- Creates a bound expression that packs values into a struct with named fields.
- root
- Creates a bound expression that references a root scope with the given dtype.
- select
- Creates a bound expression that selects specific fields from a struct expression.
- select_
exclude - Creates a bound expression that excludes specific fields from a struct expression.
- variant_
get - Creates a bound expression that extracts a path from a Variant expression.
- zip_
expr - Creates a bound zip expression that conditionally selects between two arrays.