public static enum AnalyticsIngester.IngestMethod extends Enum<AnalyticsIngester.IngestMethod>
| Enum Constant and Description |
|---|
INSERT
Uses the
Bucket.insert(Document) method. |
REPLACE
Uses the
Bucket.replace(Document) method. |
UPSERT
Uses the
Bucket.upsert(Document) method. |
| Modifier and Type | Method and Description |
|---|---|
static AnalyticsIngester.IngestMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnalyticsIngester.IngestMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnalyticsIngester.IngestMethod INSERT
Bucket.insert(Document) method.public static final AnalyticsIngester.IngestMethod UPSERT
Bucket.upsert(Document) method.public static final AnalyticsIngester.IngestMethod REPLACE
Bucket.replace(Document) method.public static AnalyticsIngester.IngestMethod[] values()
for (AnalyticsIngester.IngestMethod c : AnalyticsIngester.IngestMethod.values()) System.out.println(c);
public static AnalyticsIngester.IngestMethod 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.