@Internal public final class MappingTypeStrategy extends Object implements TypeStrategy
InputTypeStrategy
to a TypeStrategy
if the input strategy
infers identical 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–2020 The Apache Software Foundation. All rights reserved.