Class CoreQueryResult
java.lang.Object
com.couchbase.client.core.api.query.CoreQueryResult
- Direct Known Subclasses:
ClassicCoreQueryResult
,ProtostellarCoreQueryResult
The result of a N1QL query, including rows and associated metadata.
- Since:
- 3.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns all rows in a buffered list.abstract NodeIdentifier
The last node the request was dispatched to.abstract CoreQueryMetaData
metaData()
Returns theCoreQueryMetaData
giving access to the additional metadata associated with this query.abstract Stream<QueryChunkRow>
rows()
Returns all rows.
-
Constructor Details
-
CoreQueryResult
public CoreQueryResult()
-
-
Method Details
-
rows
Returns all rows. As this is a Stream this is a once-through operation. -
collectRows
Returns all rows in a buffered list. As this is building on a Stream, this is a once-through operation. -
metaData
Returns theCoreQueryMetaData
giving access to the additional metadata associated with this query. -
lastDispatchedTo
The last node the request was dispatched to.
-