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()
AsyncSpatialViewResult
AsyncViewRow
for each row received from the view.rows
in interface AsyncSpatialViewResult
Observable
containing view rows.public boolean success()
AsyncSpatialViewResult
success
in interface AsyncSpatialViewResult
public rx.Observable<JsonObject> error()
AsyncSpatialViewResult
error
in interface AsyncSpatialViewResult
public JsonObject debug()
AsyncSpatialViewResult
debug
in interface AsyncSpatialViewResult
Copyright © 2015 Couchbase, Inc.