public static enum WriteRequest.Type extends Enum<WriteRequest.Type>
| Enum Constant and Description | 
|---|
| DELETEA delete. | 
| INSERTAn insert. | 
| REPLACEAn update that replaces the existing document. | 
| UPDATEAn update that uses update operators. | 
| Modifier and Type | Method and Description | 
|---|---|
| static WriteRequest.Type | valueOf(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(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