Class ClassicCoreQueryResult
java.lang.Object
com.couchbase.client.core.api.query.CoreQueryResult
com.couchbase.client.core.classic.query.ClassicCoreQueryResult
-
Constructor Summary
ConstructorDescriptionClassicCoreQueryResult
(QueryChunkHeader header, List<QueryChunkRow> rows, QueryChunkTrailer trailer, NodeIdentifier lastDispatchedToNode) -
Method Summary
Modifier and TypeMethodDescriptionReturns all rows in a buffered list.The last node the request was dispatched to.metaData()
Returns theCoreQueryMetaData
giving access to the additional metadata associated with this query.rows()
Returns all rows.
-
Constructor Details
-
ClassicCoreQueryResult
public ClassicCoreQueryResult(QueryChunkHeader header, List<QueryChunkRow> rows, QueryChunkTrailer trailer, NodeIdentifier lastDispatchedToNode)
-
-
Method Details
-
rows
Description copied from class:CoreQueryResult
Returns all rows. As this is a Stream this is a once-through operation.- Specified by:
rows
in classCoreQueryResult
-
collectRows
Description copied from class:CoreQueryResult
Returns all rows in a buffered list. As this is building on a Stream, this is a once-through operation.- Overrides:
collectRows
in classCoreQueryResult
-
metaData
Description copied from class:CoreQueryResult
Returns theCoreQueryMetaData
giving access to the additional metadata associated with this query.- Specified by:
metaData
in classCoreQueryResult
-
lastDispatchedTo
Description copied from class:CoreQueryResult
The last node the request was dispatched to.- Specified by:
lastDispatchedTo
in classCoreQueryResult
-