Class ArgumentMappingTypeStrategy
java.lang.Object
org.apache.flink.table.types.inference.strategies.ArgumentMappingTypeStrategy
- All Implemented Interfaces:
TypeStrategy
Type strategy that returns the n-th input argument, mapping it with the provided function.
-
Constructor Summary
ConstructorsConstructorDescriptionArgumentMappingTypeStrategy(int pos, Function<DataType, Optional<DataType>> mapper) -
Method Summary
Modifier and TypeMethodDescriptioninferType(CallContext callContext) Infers a type from the given function call.
-
Constructor Details
-
ArgumentMappingTypeStrategy
-
-
Method Details
-
inferType
Description copied from interface:TypeStrategyInfers a type from the given function call.- Specified by:
inferTypein interfaceTypeStrategy
-