@Stability.Internal public class ClassicCoreQueryResult extends CoreQueryResult
| Constructor and Description |
|---|
ClassicCoreQueryResult(QueryChunkHeader header,
List<QueryChunkRow> rows,
QueryChunkTrailer trailer,
NodeIdentifier lastDispatchedToNode) |
| Modifier and Type | Method and Description |
|---|---|
List<QueryChunkRow> |
collectRows()
Returns all rows in a buffered list.
|
NodeIdentifier |
lastDispatchedTo()
The last node the request was dispatched to.
|
CoreQueryMetaData |
metaData()
Returns the
CoreQueryMetaData giving access to the additional metadata associated with this query. |
Stream<QueryChunkRow> |
rows()
Returns all rows.
|
public ClassicCoreQueryResult(QueryChunkHeader header, List<QueryChunkRow> rows, QueryChunkTrailer trailer, NodeIdentifier lastDispatchedToNode)
public Stream<QueryChunkRow> rows()
CoreQueryResultrows in class CoreQueryResultpublic List<QueryChunkRow> collectRows()
CoreQueryResultcollectRows in class CoreQueryResultpublic CoreQueryMetaData metaData()
CoreQueryResultCoreQueryMetaData giving access to the additional metadata associated with this query.metaData in class CoreQueryResultpublic NodeIdentifier lastDispatchedTo()
CoreQueryResultlastDispatchedTo in class CoreQueryResultCopyright © 2024 Couchbase, Inc.. All rights reserved.