public static enum BucketConsumer.StoreType extends Enum<BucketConsumer.StoreType>
How the event should be stored.
| Enum Constant and Description |
|---|
INSERT
Try to insert the document.
|
UPSERT
Try to upsert the document.
|
| Modifier and Type | Method and Description |
|---|---|
static BucketConsumer.StoreType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BucketConsumer.StoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BucketConsumer.StoreType UPSERT
public static final BucketConsumer.StoreType INSERT
public static BucketConsumer.StoreType[] values()
for (BucketConsumer.StoreType c : BucketConsumer.StoreType.values()) System.out.println(c);
public static BucketConsumer.StoreType 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.