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,
LogicalType inputLogicalType,
LogicalType targetLogicalType)
Generates a
CastCodeBlock composed by different statements performing the casting. |
canFail, create, getPredicateDefinition
CastCodeBlock generateCodeBlock(CodeGeneratorCastRule.Context context, String inputTerm, String inputIsNullTerm, LogicalType inputLogicalType, LogicalType targetLogicalType)
CastCodeBlock
composed by different statements performing the casting.CastCodeBlock
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.