Uses of Interface
org.apache.flink.table.planner.functions.casting.CodeGeneratorCastRule.Context
Packages that use CodeGeneratorCastRule.Context
-
Uses of CodeGeneratorCastRule.Context in org.apache.flink.table.planner.functions.casting
Methods in org.apache.flink.table.planner.functions.casting with parameters of type CodeGeneratorCastRule.ContextModifier and TypeMethodDescriptionstatic CastCodeBlockCastRuleProvider.generateCodeBlock(CodeGeneratorCastRule.Context context, String inputTerm, String inputIsNullTerm, org.apache.flink.table.types.logical.LogicalType inputLogicalType, org.apache.flink.table.types.logical.LogicalType targetLogicalType) Create aCastCodeBlockfor the provided input type and target type.CodeGeneratorCastRule.generateCodeBlock(CodeGeneratorCastRule.Context context, String inputTerm, String inputIsNullTerm, org.apache.flink.table.types.logical.LogicalType inputLogicalType, org.apache.flink.table.types.logical.LogicalType targetLogicalType) Generates aCastCodeBlockcomposed by different statements performing the casting.ExpressionCodeGeneratorCastRule.generateExpression(CodeGeneratorCastRule.Context context, String inputTerm, org.apache.flink.table.types.logical.LogicalType inputLogicalType, org.apache.flink.table.types.logical.LogicalType targetLogicalType) Generate a Java expression performing the casting.