Class CollectTypeStrategy
- java.lang.Object
-
- org.apache.flink.table.types.inference.strategies.CollectTypeStrategy
-
- All Implemented Interfaces:
TypeStrategy
@Internal public class CollectTypeStrategy extends Object implements TypeStrategy
Type strategy that returns aDataTypes.MULTISET(DataType)with element type equal to the type of the first argument.
-
-
Constructor Summary
Constructors Constructor Description CollectTypeStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<DataType>inferType(CallContext callContext)Infers a type from the given function call.
-
-
-
Method Detail
-
inferType
public Optional<DataType> inferType(CallContext callContext)
Description copied from interface:TypeStrategyInfers a type from the given function call.- Specified by:
inferTypein interfaceTypeStrategy
-
-