@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)
TypeStrategy
inferType
in interface TypeStrategy
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.