Skip to main content

Module bound

Module bound 

Source
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.