IN - Input internal typeOUT - Output internal typepublic interface CastRule<IN,OUT>
CastRule provides the logic to create a CastExecutor starting from the input
and the target types. A rule is matched using CastRulePredicate.| Modifier and Type | Method and Description |
|---|---|
CastExecutor<IN,OUT> |
create(DataType inputType,
DataType targetType)
Create a
CastExecutor starting from the provided input type. |
CastRulePredicate |
getPredicateDefinition() |
CastRulePredicate getPredicateDefinition()
CastExecutor<IN,OUT> create(DataType inputType, DataType targetType)
CastExecutor starting from the provided input type. The returned CastExecutor assumes the input value is using the internal data type, and it's a valid value
for the provided targetType.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.