Enum Class Windows.Bound

java.lang.Object
java.lang.Enum<Windows.Bound>
com.mongodb.client.model.Windows.Bound
All Implemented Interfaces:
Serializable, Comparable<Windows.Bound>, java.lang.constant.Constable
Enclosing class:
Windows

public static enum Windows.Bound extends Enum<Windows.Bound>
Special values that may be used when specifying the bounds of a window.
Since:
4.3
Since server release
5.0
  • Enum Constant Details

    • CURRENT

      public static final Windows.Bound CURRENT
      The window bound is determined by the current document and is inclusive.
    • UNBOUNDED

      public static final Windows.Bound UNBOUNDED
      The window bound is the same as the corresponding bound of the partition encompassing it.
  • Method Details

    • values

      public static Windows.Bound[] 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 Windows.Bound 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