public class NumericPrimitiveToTimestamp extends Object
DataTypeFamily.INTEGER_NUMERIC to @link DataTypeRoot#TIMESTAMP_WITHOUT_TIME_ZONE}/DataTypeRoot.TIMESTAMP_WITH_LOCAL_TIME_ZONE.| Modifier and Type | Method and Description |
|---|---|
CastExecutor<Number,Timestamp> |
create(DataType inputType,
DataType targetType)
Create a
CastExecutor starting from the provided input type. |
CastRulePredicate |
getPredicateDefinition() |
public CastExecutor<Number,Timestamp> 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.