| Modifier and Type | Method and Description |
|---|---|
CastExecutor<Timestamp,Number> |
create(DataType inputType,
DataType targetType)
Create a
CastExecutor starting from the provided input type. |
CastRulePredicate |
getPredicateDefinition() |
public CastExecutor<Timestamp,Number> create(DataType inputType, DataType targetType)
CastRuleCastExecutor 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.public CastRulePredicate getPredicateDefinition()
getPredicateDefinition in interface CastRule<IN,OUT>for more details about a cast rule predicate definition.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.