java.lang.Object
java.lang.Enum<Comparator>
org.apache.drill.exec.physical.impl.common.Comparator
All Implemented Interfaces:
Serializable, Comparable<Comparator>

public enum Comparator extends Enum<Comparator>
Comparator type. Used in Join and Aggregation operators.
  • Enum Constant Details

    • NONE

      public static final Comparator NONE
    • EQUALS

      public static final Comparator EQUALS
    • IS_NOT_DISTINCT_FROM

      public static final Comparator IS_NOT_DISTINCT_FROM
  • Method Details

    • values

      public static Comparator[] 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 Comparator 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