Class ProtostellarCoreQueryResult
- java.lang.Object
-
- com.couchbase.client.core.api.query.CoreQueryResult
-
- com.couchbase.client.core.protostellar.query.ProtostellarCoreQueryResult
-
@Volatile public class ProtostellarCoreQueryResult extends CoreQueryResult
-
-
Constructor Summary
Constructors Constructor Description ProtostellarCoreQueryResult(List<com.couchbase.client.protostellar.query.v1.QueryResponse> responses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeIdentifierlastDispatchedTo()The last node the request was dispatched to.CoreQueryMetaDatametaData()Returns theCoreQueryMetaDatagiving access to the additional metadata associated with this query.Stream<QueryChunkRow>rows()Returns all rows.-
Methods inherited from class com.couchbase.client.core.api.query.CoreQueryResult
collectRows
-
-
-
-
Constructor Detail
-
ProtostellarCoreQueryResult
public ProtostellarCoreQueryResult(List<com.couchbase.client.protostellar.query.v1.QueryResponse> responses)
-
-
Method Detail
-
rows
public Stream<QueryChunkRow> rows()
Description copied from class:CoreQueryResultReturns all rows. As this is a Stream this is a once-through operation.- Specified by:
rowsin classCoreQueryResult
-
metaData
public CoreQueryMetaData metaData()
Description copied from class:CoreQueryResultReturns theCoreQueryMetaDatagiving access to the additional metadata associated with this query.- Specified by:
metaDatain classCoreQueryResult
-
lastDispatchedTo
public NodeIdentifier lastDispatchedTo()
Description copied from class:CoreQueryResultThe last node the request was dispatched to.- Specified by:
lastDispatchedToin classCoreQueryResult
-
-