Class ForceNullableTypeStrategy
- java.lang.Object
-
- org.apache.flink.table.types.inference.strategies.ForceNullableTypeStrategy
-
- All Implemented Interfaces:
TypeStrategy
@Internal public class ForceNullableTypeStrategy extends Object implements TypeStrategy
Forces a given type strategy to be nullable.
-
-
Constructor Summary
Constructors Constructor Description ForceNullableTypeStrategy(TypeStrategy initialStrategy)
-
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.
-
-
-
Constructor Detail
-
ForceNullableTypeStrategy
public ForceNullableTypeStrategy(TypeStrategy initialStrategy)
-
-
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
-
-