Class CustomizedConvertRule
java.lang.Object
org.apache.flink.table.planner.expressions.converter.CustomizedConvertRule
- All Implemented Interfaces:
CallExpressionConvertRule
Customized
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.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.table.planner.expressions.converter.CallExpressionConvertRule
CallExpressionConvertRule.ConvertContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.apache.calcite.rex.RexNode>convert(org.apache.flink.table.expressions.CallExpression call, CallExpressionConvertRule.ConvertContext context) Convert call expression with context to RexNode.
-
Constructor Details
-
CustomizedConvertRule
public CustomizedConvertRule()
-
-
Method Details
-
convert
public Optional<org.apache.calcite.rex.RexNode> convert(org.apache.flink.table.expressions.CallExpression call, CallExpressionConvertRule.ConvertContext context) Description copied from interface:CallExpressionConvertRuleConvert call expression with context to RexNode.- Specified by:
convertin interfaceCallExpressionConvertRule- Returns:
- Success return RexNode of
Optional.of(T), Fail returnOptional.empty().
-