public enum Operation extends Enum<Operation>
| Enum Constant and Description |
|---|
ADD_UNIQUE |
ARRAY_APPEND |
ARRAY_INSERT |
ARRAY_PREPEND |
COUNTER |
DICT_ADD |
DICT_UPSERT |
EXISTS |
GET |
GET_COUNT |
GET_FULLDOC |
INVALID |
REMOVE |
REPLACE |
WRITE_FULLDOC |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsMultiValue() |
int |
code() |
boolean |
isArrayParent() |
boolean |
isCreative() |
boolean |
isLookup() |
boolean |
isMutator() |
boolean |
requiresValue() |
boolean |
returnsMatch() |
static Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operation GET
public static final Operation EXISTS
public static final Operation GET_COUNT
public static final Operation DICT_ADD
public static final Operation DICT_UPSERT
public static final Operation REMOVE
public static final Operation REPLACE
public static final Operation ARRAY_PREPEND
public static final Operation ARRAY_APPEND
public static final Operation ARRAY_INSERT
public static final Operation ADD_UNIQUE
public static final Operation COUNTER
public static final Operation INVALID
public static final Operation WRITE_FULLDOC
public static final Operation GET_FULLDOC
public static Operation[] values()
for (Operation c : Operation.values()) System.out.println(c);
public static Operation 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 int code()
public boolean requiresValue()
public boolean allowsMultiValue()
public boolean isMutator()
public boolean isLookup()
public boolean returnsMatch()
public boolean isArrayParent()
public boolean isCreative()
Copyright © 2017. All rights reserved.