Package | Description |
---|---|
com.couchbase.client.java | |
com.couchbase.client.java.view |
Modifier and Type | Method and Description |
---|---|
SpatialViewResult |
Bucket.query(SpatialViewQuery query)
Queries a Couchbase Server Spatial
View with the default view timeout . |
SpatialViewResult |
CouchbaseBucket.query(SpatialViewQuery query) |
rx.Observable<AsyncSpatialViewResult> |
CouchbaseAsyncBucket.query(SpatialViewQuery query) |
rx.Observable<AsyncSpatialViewResult> |
AsyncBucket.query(SpatialViewQuery query)
Queries a Couchbase Server Spatial
View . |
SpatialViewResult |
Bucket.query(SpatialViewQuery query,
long timeout,
TimeUnit timeUnit)
Queries a Couchbase Server Spatial
View with a custom timeout. |
SpatialViewResult |
CouchbaseBucket.query(SpatialViewQuery query,
long timeout,
TimeUnit timeUnit) |
rx.Observable<AsyncSpatialViewResult> |
CouchbaseAsyncBucket.query(SpatialViewQuery query,
long timeout,
TimeUnit timeUnit) |
rx.Observable<AsyncSpatialViewResult> |
AsyncBucket.query(SpatialViewQuery query,
long timeout,
TimeUnit timeUnit)
Queries a Couchbase Server Spatial
View . |
Modifier and Type | Method and Description |
---|---|
SpatialViewQuery |
SpatialViewQuery.debug()
Enabled debugging on view queries.
|
SpatialViewQuery |
SpatialViewQuery.debug(boolean debug) |
SpatialViewQuery |
SpatialViewQuery.development() |
SpatialViewQuery |
SpatialViewQuery.development(boolean development) |
SpatialViewQuery |
SpatialViewQuery.endRange(JsonArray endRange) |
static SpatialViewQuery |
SpatialViewQuery.from(String design,
String view)
Creates an new
SpatialViewQuery . |
SpatialViewQuery |
SpatialViewQuery.includeDocs()
Proactively load the full document for the row returned.
|
SpatialViewQuery |
SpatialViewQuery.includeDocs(boolean includeDocs)
Proactively load the full document for the row returned.
|
SpatialViewQuery |
SpatialViewQuery.includeDocs(boolean includeDocs,
Class<? extends Document<?>> target)
Proactively load the full document for the row returned.
|
SpatialViewQuery |
SpatialViewQuery.includeDocs(Class<? extends Document<?>> target)
Proactively load the full document for the row returned.
|
SpatialViewQuery |
SpatialViewQuery.limit(int limit)
Limit the number of the returned documents to the specified number.
|
SpatialViewQuery |
SpatialViewQuery.onError(OnError onError)
Sets the response in the event of an error.
|
SpatialViewQuery |
SpatialViewQuery.range(JsonArray startRange,
JsonArray endRange) |
SpatialViewQuery |
SpatialViewQuery.skip(int skip)
Skip this number of records before starting to return the results.
|
SpatialViewQuery |
SpatialViewQuery.stale(Stale stale)
Allow the results from a stale view to be used.
|
SpatialViewQuery |
SpatialViewQuery.startRange(JsonArray startRange) |
Modifier and Type | Method and Description |
---|---|
static rx.Observable<AsyncSpatialViewResult> |
ViewQueryResponseMapper.mapToSpatialViewResult(AsyncBucket bucket,
SpatialViewQuery query,
ViewQueryResponse response)
Maps a raw
ViewQueryResponse into a AsyncSpatialViewResult . |
Copyright © 2015 Couchbase, Inc.