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()

Compile this expression for execution with the process-level backend selection.

compileJit()

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:
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_type in CompiledExpression.cpp!

Enum Constant Summary

Enum Constants

VALID_LITERAL#
NULL_LITERAL#
COLUMN_REFERENCE#
UNARY_EXPRESSION#
BINARY_EXPRESSION#
COLUMN_NAME_REFERENCE#
JIT_EXPRESSION#