public class LegacyScalarFunctionConvertRule extends Object implements CallExpressionConvertRule
CallExpressionConvertRule
to convert ScalarFunctionDefinition
.CallExpressionConvertRule.ConvertContext
Constructor and Description |
---|
LegacyScalarFunctionConvertRule() |
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.