@InterfaceStability.Committed @InterfaceAudience.Public public interface AsyncAnalyticsQueryResult
| Modifier and Type | Method and Description |
|---|---|
String |
clientContextId() |
rx.Observable<JsonObject> |
errors() |
rx.Observable<Boolean> |
finalSuccess()
Asynchronously denotes the success or failure of the query.
|
AsyncAnalyticsDeferredResultHandle |
handle() |
rx.Observable<AnalyticsMetrics> |
info() |
boolean |
parseSuccess()
Immediately denotes initial parsing success of the query.
|
String |
requestId() |
rx.Observable<AsyncAnalyticsQueryRow> |
rows() |
rx.Observable<Object> |
signature() |
rx.Observable<String> |
status()
Asynchronously returns the final status of the query.
|
rx.Observable<AsyncAnalyticsQueryRow> rows()
rx.Observable<Object> signature()
row. This signature is usually a
JsonObject, but could also be any JSON-valid type like a boolean scalar, JsonArray...rx.Observable<AnalyticsMetrics> info()
boolean parseSuccess()
finalSuccess() for the end of processing status.rx.Observable<String> status()
success" (which is equivalent to finalSuccess() returning true). Other statuses include
(but are not limited to) "fatal" when fatal errors occurred and "timeout" when the
query timed out on the server side but not yet on the client side. Receiving a (single) value for status means
the query is over.rx.Observable<Boolean> finalSuccess()
parseSuccess(), for example if a fatal error comes up while streaming the results
to the client. Receiving a (single) value for finalSuccess means the query is over.rx.Observable<JsonObject> errors()
String requestId()
String clientContextId()
@InterfaceStability.Experimental AsyncAnalyticsDeferredResultHandle handle()
AsyncAnalyticsDeferredResultHandle for deferred result fetchCopyright © 2015 Couchbase, Inc.