Package | Description |
---|---|
com.couchbase.client.java | |
com.couchbase.client.java.view |
Modifier and Type | Method and Description |
---|---|
ViewResult |
Bucket.query(ViewQuery query)
Queries a Couchbase Server
View with the default view timeout . |
ViewResult |
CouchbaseBucket.query(ViewQuery query) |
rx.Observable<AsyncViewResult> |
CouchbaseAsyncBucket.query(ViewQuery query) |
rx.Observable<AsyncViewResult> |
AsyncBucket.query(ViewQuery query)
Queries a Couchbase Server
View . |
ViewResult |
Bucket.query(ViewQuery query,
long timeout,
TimeUnit timeUnit)
Queries a Couchbase Server
View with a custom timeout. |
ViewResult |
CouchbaseBucket.query(ViewQuery query,
long timeout,
TimeUnit timeUnit) |
rx.Observable<AsyncViewResult> |
CouchbaseAsyncBucket.query(ViewQuery query,
long timeout,
TimeUnit timeUnit) |
rx.Observable<AsyncViewResult> |
AsyncBucket.query(ViewQuery query,
long timeout,
TimeUnit timeUnit)
Queries a Couchbase Server
View . |
Modifier and Type | Method and Description |
---|---|
ViewQuery |
ViewQuery.debug()
Enabled debugging on view queries.
|
ViewQuery |
ViewQuery.debug(boolean debug) |
ViewQuery |
ViewQuery.descending()
Return the documents in descending by key order.
|
ViewQuery |
ViewQuery.descending(boolean desc) |
ViewQuery |
ViewQuery.development() |
ViewQuery |
ViewQuery.development(boolean development) |
ViewQuery |
ViewQuery.endKey(boolean key) |
ViewQuery |
ViewQuery.endKey(double key) |
ViewQuery |
ViewQuery.endKey(int key) |
ViewQuery |
ViewQuery.endKey(JsonArray key) |
ViewQuery |
ViewQuery.endKey(JsonObject key) |
ViewQuery |
ViewQuery.endKey(long key) |
ViewQuery |
ViewQuery.endKey(String key) |
ViewQuery |
ViewQuery.endKeyDocId(String id) |
static ViewQuery |
ViewQuery.from(String design,
String view)
Creates an new
ViewQuery . |
ViewQuery |
ViewQuery.group()
Group the results using the reduce function to a group or single row.
|
ViewQuery |
ViewQuery.group(boolean group) |
ViewQuery |
ViewQuery.groupLevel(int grouplevel)
Specify the group level to be used.
|
ViewQuery |
ViewQuery.includeDocs()
Proactively load the full document for the row returned.
|
ViewQuery |
ViewQuery.includeDocs(boolean includeDocs)
Proactively load the full document for the row returned.
|
ViewQuery |
ViewQuery.includeDocs(boolean includeDocs,
Class<? extends Document<?>> target)
Proactively load the full document for the row returned.
|
ViewQuery |
ViewQuery.includeDocs(Class<? extends Document<?>> target)
Proactively load the full document for the row returned.
|
ViewQuery |
ViewQuery.includeDocsOrdered()
Proactively load the full document for the row returned, while strictly retaining view row order.
|
ViewQuery |
ViewQuery.includeDocsOrdered(boolean includeDocs)
Proactively load the full document for the row returned, while strictly retaining view row order.
|
ViewQuery |
ViewQuery.includeDocsOrdered(boolean includeDocs,
Class<? extends Document<?>> target)
Proactively load the full document for the row returned, while strictly retaining view row order.
|
ViewQuery |
ViewQuery.includeDocsOrdered(Class<? extends Document<?>> target)
Proactively load the full document for the row returned, while strictly retaining view row order.
|
ViewQuery |
ViewQuery.inclusiveEnd()
Specifies whether the specified end key should be included in the result.
|
ViewQuery |
ViewQuery.inclusiveEnd(boolean inclusive) |
ViewQuery |
ViewQuery.key(boolean key) |
ViewQuery |
ViewQuery.key(double key) |
ViewQuery |
ViewQuery.key(int key) |
ViewQuery |
ViewQuery.key(JsonArray key) |
ViewQuery |
ViewQuery.key(JsonObject key) |
ViewQuery |
ViewQuery.key(long key) |
ViewQuery |
ViewQuery.key(String key) |
ViewQuery |
ViewQuery.keys(JsonArray keys) |
ViewQuery |
ViewQuery.limit(int limit)
Limit the number of the returned documents to the specified number.
|
ViewQuery |
ViewQuery.onError(OnError onError)
Sets the response in the event of an error.
|
ViewQuery |
ViewQuery.reduce() |
ViewQuery |
ViewQuery.reduce(boolean reduce)
Explicitly enable/disable the reduce function on the query.
|
ViewQuery |
ViewQuery.skip(int skip)
Skip this number of records before starting to return the results.
|
ViewQuery |
ViewQuery.stale(Stale stale)
Allow the results from a stale view to be used.
|
ViewQuery |
ViewQuery.startKey(boolean key) |
ViewQuery |
ViewQuery.startKey(double key) |
ViewQuery |
ViewQuery.startKey(int key) |
ViewQuery |
ViewQuery.startKey(JsonArray key) |
ViewQuery |
ViewQuery.startKey(JsonObject key) |
ViewQuery |
ViewQuery.startKey(long key) |
ViewQuery |
ViewQuery.startKey(String key) |
ViewQuery |
ViewQuery.startKeyDocId(String id) |
Modifier and Type | Method and Description |
---|---|
static rx.Observable<AsyncViewResult> |
ViewQueryResponseMapper.mapToViewResult(AsyncBucket bucket,
ViewQuery query,
ViewQueryResponse response)
Maps a raw
ViewQueryResponse into a AsyncViewResult . |
Copyright © 2015 Couchbase, Inc.