AstExpression#
- public abstract class AstExpression#
Base class of every node in an AST.
Subclassed by ai.rapids.cudf.ast.BinaryOperation, ai.rapids.cudf.ast.ColumnNameReference, ai.rapids.cudf.ast.ColumnReference, ai.rapids.cudf.ast.JitOperation, ai.rapids.cudf.ast.Literal, ai.rapids.cudf.ast.UnaryOperation
Method Summary
Compile this expression for execution with the process-level backend selection.
Compile this expression for explicit execution with the libcudf JIT backend.
Methods
- public CompiledExpression compile()#
Compile this expression for execution with the process-level backend selection.
- Throws:
IllegalArgumentException– if a root literal requires JIT compilationai.rapids.cudf.CudfException– if compilation fails
- Returns:
expression compatible with default AST consumers
- public CompiledExpression compileJit()#
Compile this expression for explicit execution with the libcudf JIT backend.
The returned expression cannot be used as a join or scan predicate.
- Throws:
ai.rapids.cudf.CudfException– if compilation fails- Returns:
expression specialized for JIT execution
- protected enum ExpressionType#
Enumeration for the types of AST nodes that can appear in a serialized AST.
NOTE: This must be kept in sync with
jni_serialized_expression_typein CompiledExpression.cpp!Enum Constant Summary