Enum ChangeStreamLevel

java.lang.Object
java.lang.Enum<ChangeStreamLevel>
com.mongodb.client.model.changestream.ChangeStreamLevel
All Implemented Interfaces:
Serializable, Comparable<ChangeStreamLevel>, java.lang.constant.Constable

@Deprecated public enum ChangeStreamLevel extends Enum<ChangeStreamLevel>
Deprecated.
The level at which the change stream operation operates at.
Since:
3.8
  • Enum Constant Details

    • CLIENT

      public static final ChangeStreamLevel CLIENT
      Deprecated.
      Observing all changes on the Client
    • DATABASE

      public static final ChangeStreamLevel DATABASE
      Deprecated.
      Observing all changes on a specific database
    • COLLECTION

      public static final ChangeStreamLevel COLLECTION
      Deprecated.
      Observing all changes on a specific collection
  • Method Details

    • values

      public static ChangeStreamLevel[] values()
      Deprecated.
      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 ChangeStreamLevel valueOf(String name)
      Deprecated.
      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