Enum Granularity.Type

java.lang.Object
java.lang.Enum<Granularity.Type>
org.apache.calcite.adapter.druid.Granularity.Type
All Implemented Interfaces:
Serializable, Comparable<Granularity.Type>, Constable
Enclosing interface:
Granularity

public static enum Granularity.Type extends Enum<Granularity.Type>
Type of supported periods for granularity.
  • Enum Constant Details

  • Field Details

    • lowerName

      public final String lowerName
      Lower-case name, e.g. "all", "minute".
  • Method Details

    • values

      public static Granularity.Type[] 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 Granularity.Type 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