@Internal public class CustomizedConvertRule extends Object implements CallExpressionConvertRule
CallExpressionConvertRule
, Functions conversion here all require special
logic, and there may be some special rules, such as needing get the literal values of inputs,
such as converting to combinations of functions, to convert to RexNode of calcite.CallExpressionConvertRule.ConvertContext
Constructor and Description |
---|
CustomizedConvertRule() |
Modifier and Type | Method and Description |
---|---|
Optional<org.apache.calcite.rex.RexNode> |
convert(CallExpression call,
CallExpressionConvertRule.ConvertContext context)
Convert call expression with context to RexNode.
|
public Optional<org.apache.calcite.rex.RexNode> convert(CallExpression call, CallExpressionConvertRule.ConvertContext context)
CallExpressionConvertRule
convert
in interface CallExpressionConvertRule
Optional.of(T)
, Fail return Optional.empty()
.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.