Expand description
Functions for creating logical expressions
Structs§
- Expr
Func Builder - Implementation of
ExprFunctionExt
. - Simple
AggregateUDF - Implements
AggregateUDFImpl
for functions that have a single signature and return type. - Simple
ScalarUDF - Implements
ScalarUDFImpl
for functions that have a single signature and return type. - Simple
WindowUDF - Implements
WindowUDFImpl
for functions that have a single signature and return type.
Enums§
Traits§
- Expr
Function Ext - Extensions for configuring
Expr::AggregateFunction
orExpr::WindowFunction
Functions§
- and
- Return a new expression with a logical AND
- binary_
expr - Return a new expression
left <op> right
- bitwise_
and - Return a new expression with bitwise AND
- bitwise_
or - Return a new expression with bitwise OR
- bitwise_
shift_ left - Return a new expression with bitwise SHIFT LEFT
- bitwise_
shift_ right - Return a new expression with bitwise SHIFT RIGHT
- bitwise_
xor - Return a new expression with bitwise XOR
- case
- Create a CASE WHEN statement with literal WHEN expressions for comparison to the base expression.
- cast
- Create a cast expression
- col
- Create a column expression based on a qualified or unqualified column name. Will normalize unquoted identifiers according to SQL rules (identifiers will become lowercase).
- create_
udaf - Creates a new UDAF with a specific signature, state type and return type.
The signature and state type must match the
Accumulator's implementation
. - create_
udf - Convenience method to create a new user defined scalar function (UDF) with a specific signature and specific return type.
- create_
udwf - Creates a new UDWF with a specific signature, state type and return type.
- cube
- Create a grouping set for all combination of
exprs
- exists
- Create an EXISTS subquery expression
- grouping_
set - Create a grouping set
- ident
- Create an unqualified column expression from the provided name, without normalizing the column.
- in_list
- Create an in_list expression
- in_
subquery - Create an IN subquery expression
- interval_
datetime_ lit - interval_
month_ day_ nano_ lit - interval_
year_ month_ lit - is_
false - Create is false expression
- is_
not_ false - Create is not false expression
- is_
not_ true - Create is not true expression
- is_
not_ unknown - Create is not unknown expression
- is_null
- Create is null expression
- is_true
- Create is true expression
- is_
unknown - Create is unknown expression
- not
- Return a new expression with a logical NOT
- not_
exists - Create a NOT EXISTS subquery expression
- not_
in_ subquery - Create a NOT IN subquery expression
- or
- Return a new expression with a logical OR
- out_
ref_ col - Create an out reference column which hold a reference that has been resolved to a field outside of the current plan.
- placeholder
- Create placeholder value that will be filled in (such as
$1
) - qualified_
wildcard - Create an ‘t.*’
Expr::Wildcard
expression that matches all columns from a specific table - qualified_
wildcard_ with_ options - Create an ‘t.*’
Expr::Wildcard
expression with the wildcard options - rollup
- Create a grouping set for rollup
- scalar_
subquery - Create a scalar subquery expression
- try_
cast - Create a try cast expression
- unnest
- Create a Unnest expression
- when
- Create a CASE WHEN statement with boolean WHEN expressions and no base expression.
- wildcard
- Create an ‘*’
Expr::Wildcard
expression that matches all columns - wildcard_
with_ options - Create an ‘*’
Expr::Wildcard
expression with the wildcard options