Serializable
, Comparable<ChangeStreamLevel>
public enum ChangeStreamLevel extends Enum<ChangeStreamLevel>
Enum Constant | Description |
---|---|
CLIENT |
Observing all changes on the Client
|
COLLECTION |
Observing all changes on a specific collection
|
DATABASE |
Observing all changes on a specific database
|
Modifier and Type | Method | Description |
---|---|---|
static ChangeStreamLevel |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ChangeStreamLevel[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeStreamLevel CLIENT
public static final ChangeStreamLevel DATABASE
public static final ChangeStreamLevel COLLECTION
public static ChangeStreamLevel[] values()
for (ChangeStreamLevel c : ChangeStreamLevel.values()) System.out.println(c);
public static ChangeStreamLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null