Package | Description |
---|---|
com.couchbase.client.java |
Holds all classes that are needed for the Couchbase Java SDK.
|
com.couchbase.client.java.view |
Namespace for various view-service related classes.
|
Modifier and Type | Method and Description |
---|---|
Mono<ReactiveViewResult> |
ReactiveBucket.viewQuery(String designDoc,
String viewName,
ViewOptions options) |
ViewResult |
Bucket.viewQuery(String designDoc,
String viewName,
ViewOptions options)
Queries a view on the bucket with custom options.
|
CompletableFuture<ViewResult> |
AsyncBucket.viewQuery(String designDoc,
String viewName,
ViewOptions options) |
Modifier and Type | Method and Description |
---|---|
ViewOptions |
ViewOptions.debug(boolean debug)
Enable debugging on view queries.
|
ViewOptions |
ViewOptions.endKey(boolean key) |
ViewOptions |
ViewOptions.endKey(double key) |
ViewOptions |
ViewOptions.endKey(int key) |
ViewOptions |
ViewOptions.endKey(JsonArray key) |
ViewOptions |
ViewOptions.endKey(JsonObject key) |
ViewOptions |
ViewOptions.endKey(long key) |
ViewOptions |
ViewOptions.endKey(String key) |
ViewOptions |
ViewOptions.endKeyDocId(String id) |
ViewOptions |
ViewOptions.group(boolean group)
Group the results using the reduce function to a group or single row.
|
ViewOptions |
ViewOptions.groupLevel(int grouplevel)
Specify the group level to be used.
|
ViewOptions |
ViewOptions.inclusiveEnd(boolean inclusive)
Specifies whether the specified end key should be included in the result.
|
ViewOptions |
ViewOptions.key(boolean key) |
ViewOptions |
ViewOptions.key(double key) |
ViewOptions |
ViewOptions.key(int key) |
ViewOptions |
ViewOptions.key(JsonArray key) |
ViewOptions |
ViewOptions.key(JsonObject key) |
ViewOptions |
ViewOptions.key(long key) |
ViewOptions |
ViewOptions.key(String key) |
ViewOptions |
ViewOptions.keys(JsonArray keys) |
ViewOptions |
ViewOptions.limit(int limit)
Limit the number of the returned documents to the specified number.
|
ViewOptions |
ViewOptions.namespace(DesignDocumentNamespace namespace) |
ViewOptions |
ViewOptions.onError(ViewErrorMode viewErrorMode)
Sets the response in the event of an error.
|
ViewOptions |
ViewOptions.order(ViewOrdering ordering)
Return the documents in descending key order.
|
ViewOptions |
ViewOptions.raw(String key,
String value) |
ViewOptions |
ViewOptions.reduce(boolean reduce)
Explicitly enable/disable the reduce function on the query.
|
ViewOptions |
ViewOptions.scanConsistency(ViewScanConsistency scanConsistency)
Sets the scan consistency (staleness) of a view query.
|
ViewOptions |
ViewOptions.serializer(JsonSerializer serializer) |
ViewOptions |
ViewOptions.skip(int skip)
Skip this number of records before starting to return the results.
|
ViewOptions |
ViewOptions.startKey(boolean key) |
ViewOptions |
ViewOptions.startKey(double key) |
ViewOptions |
ViewOptions.startKey(int key) |
ViewOptions |
ViewOptions.startKey(JsonArray key) |
ViewOptions |
ViewOptions.startKey(JsonObject key) |
ViewOptions |
ViewOptions.startKey(long key) |
ViewOptions |
ViewOptions.startKey(String key) |
ViewOptions |
ViewOptions.startKeyDocId(String id) |
static ViewOptions |
ViewOptions.viewOptions() |
Copyright © 2020 Couchbase, Inc.. All rights reserved.