@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.
|
JsonObject |
error()
If it was not successful, an error is contained here.
|
rx.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.
|
rx.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.
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.