| Enum Constant and Description |
|---|
AWAIT_DATA |
EXHAUST |
NO_CURSOR_TIMEOUT |
OPLOG_REPLAY |
PARTIAL |
SLAVE_OK |
TAILABLE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSet(int flags) |
int |
removeFrom(int flags) |
static QueryFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QueryFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryFlag TAILABLE
public static final QueryFlag SLAVE_OK
public static final QueryFlag OPLOG_REPLAY
public static final QueryFlag NO_CURSOR_TIMEOUT
public static final QueryFlag AWAIT_DATA
public static final QueryFlag EXHAUST
public static final QueryFlag PARTIAL
public static QueryFlag[] values()
for (QueryFlag c : QueryFlag.values()) System.out.println(c);
public static QueryFlag valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isSet(int flags)
public int removeFrom(int flags)