Enum Class BoundsRule

java.lang.Object
java.lang.Enum<BoundsRule>
org.apache.datasketches.partitions.BoundsRule
All Implemented Interfaces:
Serializable, Comparable<BoundsRule>, Constable

public enum BoundsRule extends Enum<BoundsRule>
This instructs the user about which of the upper and lower bounds of a partition definition row should be included with the returned data.
  • Enum Constant Details

    • INCLUDE_BOTH

      public static final BoundsRule INCLUDE_BOTH
      Include both the upper and lower bounds
    • INCLUDE_UPPER

      public static final BoundsRule INCLUDE_UPPER
      Include only the upper bound but not the lower bound
    • INCLUDE_LOWER

      public static final BoundsRule INCLUDE_LOWER
      Include only the lower bound but not the upper bound
    • INCLUDE_NEITHER

      public static final BoundsRule INCLUDE_NEITHER
      Include none
  • Method Details

    • values

      public static BoundsRule[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BoundsRule valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null