Class NullableIfArgsTypeStrategy
java.lang.Object
org.apache.flink.table.types.inference.strategies.NullableIfArgsTypeStrategy
- All Implemented Interfaces:
TypeStrategy
A type strategy that can be used to make a result type nullable if any or all of the selected
input arguments are nullable. Otherwise the type will be not null.
-
Constructor Summary
ConstructorsConstructorDescriptionNullableIfArgsTypeStrategy(ConstantArgumentCount includedArguments, TypeStrategy initialStrategy, boolean nullableIfAllArgsNullable) -
Method Summary
-
Constructor Details
-
NullableIfArgsTypeStrategy
public NullableIfArgsTypeStrategy(ConstantArgumentCount includedArguments, TypeStrategy initialStrategy, boolean nullableIfAllArgsNullable)
-
-
Method Details
-
inferType
Description copied from interface:TypeStrategyInfers a type from the given function call.- Specified by:
inferTypein interfaceTypeStrategy
-
equals
-
hashCode
public int hashCode()
-