public class DefaultAsyncSpatialViewResult extends Object implements AsyncSpatialViewResult
AsyncSpatialViewResult.| Constructor and Description |
|---|
DefaultAsyncSpatialViewResult(rx.Observable<AsyncSpatialViewRow> rows,
boolean success,
rx.Observable<JsonObject> error,
JsonObject debug) |
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
debug()
If debug was enabled on the query, it is contained here.
|
rx.Observable<JsonObject> |
error()
If it was not successful, an error is contained here.
|
rx.Observable<AsyncSpatialViewRow> |
rows()
Emits one
AsyncViewRow for each row received from the view. |
boolean |
success()
If the query was successful.
|
public DefaultAsyncSpatialViewResult(rx.Observable<AsyncSpatialViewRow> rows, boolean success, rx.Observable<JsonObject> error, JsonObject debug)
public rx.Observable<AsyncSpatialViewRow> rows()
AsyncSpatialViewResultAsyncViewRow for each row received from the view.rows in interface AsyncSpatialViewResultObservable containing view rows.public boolean success()
AsyncSpatialViewResultsuccess in interface AsyncSpatialViewResultpublic rx.Observable<JsonObject> error()
AsyncSpatialViewResulterror in interface AsyncSpatialViewResultpublic JsonObject debug()
AsyncSpatialViewResultdebug in interface AsyncSpatialViewResultCopyright © 2015 Couchbase, Inc.