Package org.apache.calcite.plan
Enum Strong.Policy
- All Implemented Interfaces:
Serializable
,Comparable<Strong.Policy>
,Constable
- Enclosing class:
Strong
How whether an operator's operands are null affects whether a call to
that operator evaluates to null.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Strong.Policy
Returns the enum constant of this type with the specified name.static Strong.Policy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_NULL
This kind of expression is never null. No need to look at its arguments, if it has any. -
CUSTOM
This kind of expression has its own particular rules about whether it is null. -
ANY
This kind of expression is null if and only if at least one of its arguments is null. -
AS_IS
This kind of expression may be null. There is no way to rewrite.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-