Package | Description |
---|---|
com.couchbase.client.java.util |
Modifier and Type | Method and Description |
---|---|
AnalyticsIngester.IngestOptions |
AnalyticsIngester.IngestOptions.analyticsTimeout(long timeout,
TimeUnit timeUnit)
Customizes the timeout used for the analytics query.
|
AnalyticsIngester.IngestOptions |
AnalyticsIngester.IngestOptions.dataConverter(rx.functions.Func1<JsonObject,JsonObject> dataConverter)
Allows to specify a custom converter which modifies each document from the query
before it is stored back in the kv service.
|
AnalyticsIngester.IngestOptions |
AnalyticsIngester.IngestOptions.idGenerator(rx.functions.Func1<JsonObject,String> idGenerator)
Allows to specify a custom ID generator instead of the default UUID one.
|
AnalyticsIngester.IngestOptions |
AnalyticsIngester.IngestOptions.ignoreIngestError(boolean ignoreIngestError)
Allows to ignore individual kv mutation failures and keep going.
|
AnalyticsIngester.IngestOptions |
AnalyticsIngester.IngestOptions.ingestMethod(AnalyticsIngester.IngestMethod ingestMethod)
Allows to customize the ingest method used for each kv operation.
|
static AnalyticsIngester.IngestOptions |
AnalyticsIngester.IngestOptions.ingestOptions()
Create ingest options to modify default behavior.
|
AnalyticsIngester.IngestOptions |
AnalyticsIngester.IngestOptions.kvTimeout(long timeout,
TimeUnit timeUnit)
Customizes the timeout used for each kv mutation operation.
|
AnalyticsIngester.IngestOptions |
AnalyticsIngester.IngestOptions.retryBuilder(RetryBuilder retryBuilder)
Allows to customize the retry strategy in use for each individual
kv operation.
|
Modifier and Type | Method and Description |
---|---|
static rx.Completable |
AnalyticsIngester.ingest(Bucket bucket,
AnalyticsQuery query,
AnalyticsIngester.IngestOptions options)
Takes an
AnalyticsQuery and ingests all rows back into the KV layer as documents. |
Copyright © 2015 Couchbase, Inc.