IN - Input internal typeOUT - Output internal type@Internal public interface CodeGeneratorCastRule<IN,OUT> extends CastRule<IN,OUT>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CodeGeneratorCastRule.Context
Context for code generation.
|
| Modifier and Type | Method and Description |
|---|---|
CastCodeBlock |
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. |
canFail, create, getPredicateDefinitionCastCodeBlock generateCodeBlock(CodeGeneratorCastRule.Context context, String inputTerm, String inputIsNullTerm, org.apache.flink.table.types.logical.LogicalType inputLogicalType, org.apache.flink.table.types.logical.LogicalType targetLogicalType)
CastCodeBlock composed by different statements performing the casting.CastCodeBlockCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.