@InterfaceStability.Experimental @InterfaceAudience.Public public enum ExtendDirection extends Enum<ExtendDirection>
The direction for a sub-document array extension operation. See Bucket.extendIn(DocumentFragment, ExtendDirection, boolean, PersistTo, ReplicateTo)
.
Enum Constant and Description |
---|
BACK
Extend the array by placing the value at the back of the array (largest index).
|
FRONT
Extend the array by placing the value at the front of the array (index 0).
|
Modifier and Type | Method and Description |
---|---|
static ExtendDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtendDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtendDirection FRONT
public static final ExtendDirection BACK
public static ExtendDirection[] values()
for (ExtendDirection c : ExtendDirection.values()) System.out.println(c);
public static ExtendDirection 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 nullCopyright © 2015 Couchbase, Inc.