@InterfaceAudience.Public @InterfaceStability.Experimental public enum AnalyticsIngester extends Enum<AnalyticsIngester>
Modifier and Type | Class and Description |
---|---|
static class |
AnalyticsIngester.IngestMethod
Describes how the data should be ingested back into the kv service.
|
static class |
AnalyticsIngester.IngestOptions |
Modifier and Type | Method and Description |
---|---|
static rx.Completable |
ingest(Bucket bucket,
AnalyticsQuery query)
Takes an
AnalyticsQuery and ingests all rows back into the KV layer as documents with
default settings applied. |
static rx.Completable |
ingest(Bucket bucket,
AnalyticsQuery query,
AnalyticsIngester.IngestOptions options)
Takes an
AnalyticsQuery and ingests all rows back into the KV layer as documents. |
static AnalyticsIngester |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnalyticsIngester[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static AnalyticsIngester[] values()
for (AnalyticsIngester c : AnalyticsIngester.values()) System.out.println(c);
public static AnalyticsIngester 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 static rx.Completable ingest(Bucket bucket, AnalyticsQuery query)
AnalyticsQuery
and ingests all rows back into the KV layer as documents with
default settings applied.bucket
- the bucket where to write back into.query
- the analytics query to execute.Completable
which suggests once complete or failed.public static rx.Completable ingest(Bucket bucket, AnalyticsQuery query, AnalyticsIngester.IngestOptions options)
AnalyticsQuery
and ingests all rows back into the KV layer as documents.bucket
- the bucket where to write back into.query
- the analytics query to execute.options
- the ingest options to change default behavior.Completable
which suggests once complete or failed.Copyright © 2015 Couchbase, Inc.