| 程序包 | 说明 |
|---|---|
| org.apache.flink.table.planner.functions.casting |
| 限定符和类型 | 方法和说明 |
|---|---|
CastCodeBlock |
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 a
CastCodeBlock composed by different statements performing the casting. |
static CastCodeBlock |
CastRuleProvider.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 a
CastCodeBlock for the provided input type and target type. |
String |
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.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.