public static enum WriteRequest.Type extends java.lang.Enum<WriteRequest.Type>
Enum Constant and Description |
---|
DELETE
A delete.
|
INSERT
An insert.
|
REPLACE
An update that replaces the existing document.
|
UPDATE
An update that uses update operators.
|
Modifier and Type | Method and Description |
---|---|
static WriteRequest.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WriteRequest.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteRequest.Type INSERT
public static final WriteRequest.Type UPDATE
public static final WriteRequest.Type REPLACE
public static final WriteRequest.Type DELETE
public static WriteRequest.Type[] values()
for (WriteRequest.Type c : WriteRequest.Type.values()) System.out.println(c);
public static WriteRequest.Type 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 null