Class DirectConvertRule
- java.lang.Object
-
- org.apache.flink.table.planner.expressions.converter.DirectConvertRule
-
- All Implemented Interfaces:
CallExpressionConvertRule
@Internal public class DirectConvertRule extends Object implements CallExpressionConvertRule
ACallExpressionConvertRule
that performs a simple one-to-one mapping betweenFunctionDefinition
and a correspondingSqlOperator
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.planner.expressions.converter.CallExpressionConvertRule
CallExpressionConvertRule.ConvertContext
-
-
Constructor Summary
Constructors Constructor Description DirectConvertRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<org.apache.calcite.rex.RexNode>
convert(CallExpression call, CallExpressionConvertRule.ConvertContext context)
Convert call expression with context to RexNode.static DirectConvertRule
instance(boolean isBatchMode)
-
-
-
Method Detail
-
instance
public static DirectConvertRule instance(boolean isBatchMode)
-
convert
public Optional<org.apache.calcite.rex.RexNode> convert(CallExpression call, CallExpressionConvertRule.ConvertContext context)
Description copied from interface:CallExpressionConvertRule
Convert call expression with context to RexNode.- Specified by:
convert
in interfaceCallExpressionConvertRule
- Returns:
- Success return RexNode of
Optional.of(T)
, Fail returnOptional.empty()
.
-
-