Enum Strong.Policy

java.lang.Object
java.lang.Enum<Strong.Policy>
org.apache.calcite.plan.Strong.Policy
All Implemented Interfaces:
Serializable, Comparable<Strong.Policy>, Constable
Enclosing class:
Strong

public static enum Strong.Policy extends Enum<Strong.Policy>
How whether an operator's operands are null affects whether a call to that operator evaluates to null.
  • Enum Constant Details

    • NOT_NULL

      public static final Strong.Policy NOT_NULL
      This kind of expression is never null. No need to look at its arguments, if it has any.
    • CUSTOM

      public static final Strong.Policy CUSTOM
      This kind of expression has its own particular rules about whether it is null.
    • ANY

      public static final Strong.Policy ANY
      This kind of expression is null if and only if at least one of its arguments is null.
    • AS_IS

      public static final Strong.Policy AS_IS
      This kind of expression may be null. There is no way to rewrite.
  • Method Details

    • values

      public static Strong.Policy[] 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

      public static Strong.Policy valueOf(String name)
      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 name
      NullPointerException - if the argument is null