@InterfaceStability.Experimental
@InterfaceAudience.Public
public interface AsyncN1qlQueryResult
A representation of an N1QL query result.
Modifier and Type | Method and Description |
---|---|
String |
clientContextId() |
Observable<JsonObject> |
errors() |
Observable<Boolean> |
finalSuccess()
Asynchronously denotes the success or failure of the query.
|
Observable<N1qlMetrics> |
info() |
boolean |
parseSuccess()
Immediately denotes initial parsing success of the query.
|
String |
requestId() |
Observable<AsyncN1qlQueryRow> |
rows() |
Observable<Object> |
signature() |
Observable<AsyncN1qlQueryRow> rows()
Observable<Object> signature()
row
. This signature is usually a JsonObject
, but could also be any JSON-valid type like a boolean scalar, JsonArray
…Observable<N1qlMetrics> info()
boolean parseSuccess()
Immediately denotes initial parsing success of the query.
As rows are processed, it could be that a late failure occurs. See finalSuccess()
for the end of processing status.
Observable<Boolean> finalSuccess()
Asynchronously denotes the success or failure of the query. It could fail slower than with 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.
Observable<JsonObject> errors()
String requestId()
String clientContextId()
Copyright © 2014 Couchbase, Inc.