public class CastExecutors extends Object
| Constructor and Description |
|---|
CastExecutors() |
| Modifier and Type | Method and Description |
|---|---|
static CastExecutor<?,?> |
identityCastExecutor() |
static CastExecutor<?,?> |
resolve(DataType inputType,
DataType outputType)
Resolve a
CastExecutor for the provided input type and target type. |
@Nullable public static CastExecutor<?,?> resolve(DataType inputType, DataType outputType)
CastExecutor for the provided input type and target type. Returns null if
no rule can be resolved.inputType - the input value type.outputType - the output value type.CastExecutor instance.public static CastExecutor<?,?> identityCastExecutor()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.