public enum UpdateOperator extends Enum<UpdateOperator>
Enum Constant and Description |
---|
ADD_TO_SET |
ADD_TO_SET_EACH |
EACH |
Foo |
INC |
MAX |
MIN |
POP |
PULL |
PULL_ALL |
PUSH |
PUSH_ALL |
SET |
SET_ON_INSERT |
UNSET |
Modifier and Type | Method and Description |
---|---|
static UpdateOperator |
fromString(String val) |
String |
val() |
static UpdateOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateOperator SET
public static final UpdateOperator SET_ON_INSERT
public static final UpdateOperator UNSET
public static final UpdateOperator PULL
public static final UpdateOperator PULL_ALL
public static final UpdateOperator PUSH
public static final UpdateOperator PUSH_ALL
public static final UpdateOperator ADD_TO_SET
public static final UpdateOperator ADD_TO_SET_EACH
public static final UpdateOperator EACH
public static final UpdateOperator POP
public static final UpdateOperator INC
public static final UpdateOperator Foo
public static final UpdateOperator MAX
public static final UpdateOperator MIN
public static UpdateOperator[] values()
for (UpdateOperator c : UpdateOperator.values()) System.out.println(c);
public static UpdateOperator 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 nullpublic String val()
public static UpdateOperator fromString(String val)
Copyright © 2016. All rights reserved.