- composeConjunction
Converts a collection of expressions into an AND. If there are zero expressions,
returns TRUE. If th
- composeDisjunction
Converts a collection of expressions into an OR, optionally returning null if
the list is empty.
- flatten
Flattens an expression.Returns the same expression if it is already flat.
- createStructType
Creates a record type with specified field names.The array of field names may be
null, or any of the
- isIdentity
Returns whether a list of expressions projects the incoming fields.
- isNull
Returns whether a node represents the NULL value or a series of nested CAST(NULL
AS type) calls. For
- toCnf
Converts an expression to conjunctive normal form (CNF).The following expression
is in CNF:> (a OR b
- isLiteral
Returns whether a node represents a literal.Examples: * For CAST(literal AS type), returns true if a
- apply
Applies a mapping to an expression.
- flattenAnd
- flattenOr
- isDeterministic
Returns whether a given expression is deterministic.