@Internal public final class MappingTypeStrategy extends Object implements TypeStrategy
InputTypeStrategy to a TypeStrategy if the input
strategy infers compatible types.| Constructor and Description |
|---|
MappingTypeStrategy(Map<InputTypeStrategy,TypeStrategy> mappings) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
Optional<DataType> |
inferType(CallContext callContext)
Infers a type from the given function call.
|
public MappingTypeStrategy(Map<InputTypeStrategy,TypeStrategy> mappings)
public Optional<DataType> inferType(CallContext callContext)
TypeStrategyinferType in interface TypeStrategyCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.