JitOperation#
- public final class JitOperation extends AstExpression#
A libcudf JIT operation.
Expressions containing a JIT operation must be compiled with
AstExpression.compileJit(). Operator arity, error policy, and target-scale constraints are validated when the expression is compiled.Constructor Summary
Construct an operation that propagates evaluation errors.
JitOperation(JitOperator op, JitErrorPolicy errorPolicy, AstExpression... inputs)Construct an operation with an explicit error policy.
JitOperation(JitOperator op, int targetScale, AstExpression... inputs)Construct a target-scale operation that propagates evaluation errors.
Method Summary
Methods inherited from class
ai.rapids.cudf.ast.AstExpression:compile,compileJitConstructors
- public JitOperation(JitOperator op, AstExpression... inputs)#
Construct an operation that propagates evaluation errors.
- Parameters:
op – operator to apply
inputs – operator inputs
- Throws:
NullPointerException– ifop,inputs, or an input is null
- public JitOperation(
- JitOperator op,
- JitErrorPolicy errorPolicy,
- AstExpression... inputs
Construct an operation with an explicit error policy.
- Parameters:
op – operator to apply
errorPolicy – error handling policy
inputs – operator inputs
- Throws:
NullPointerException– if any argument or input is null
- public JitOperation(
- JitOperator op,
- int targetScale,
- AstExpression... inputs
Construct a target-scale operation that propagates evaluation errors.
The target scale is valid only for
JitOperator.RESCALE.- Parameters:
op – operator to apply
targetScale – target fixed-point scale
inputs – operator inputs
- Throws:
NullPointerException– ifop,inputs, or an input is null
Methods