@InterfaceStability.Committed
@InterfaceAudience.Public
public interface AsyncViewResult
Represents the result from a ViewQuery
.
Modifier and Type | Method and Description |
---|---|
JsonObject |
debug()
If debug was enabled on the query, it is contained here.
|
Observable<JsonObject> |
error()
If it was not successful, an error is contained here.
|
Observable<AsyncViewRow> |
rows()
Emits one
AsyncViewRow for each row received from the view. |
boolean |
success()
If the query was successful.
|
int |
totalRows()
The total number of rows.
|
Observable<AsyncViewRow> rows()
Emits one AsyncViewRow
for each row received from the view.
Observable
containing view rows.int totalRows()
The total number of rows.
boolean success()
If the query was successful.
Observable<JsonObject> error()
If it was not successful, an error is contained here.
JsonObject debug()
If debug was enabled on the query, it is contained here.
Copyright © 2014 Couchbase, Inc.