Class QueryResponse
java.lang.Object
com.couchbase.client.core.msg.BaseResponse
com.couchbase.client.core.msg.query.QueryResponse
- All Implemented Interfaces:
ChunkedResponse<QueryChunkHeader,,QueryChunkRow, QueryChunkTrailer> Response
public class QueryResponse
extends BaseResponse
implements ChunkedResponse<QueryChunkHeader,QueryChunkRow,QueryChunkTrailer>
-
Constructor Summary
ConstructorsConstructorDescriptionQueryResponse(ResponseStatus status, QueryChunkHeader header, reactor.core.publisher.Flux<QueryChunkRow> rows, reactor.core.publisher.Mono<QueryChunkTrailer> trailer) -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeExceptionstatic RuntimeExceptionstatic RuntimeExceptionstatic RuntimeExceptionheader()Returns the header for this response, immediately available.reactor.core.publisher.Flux<QueryChunkRow> rows()Returns the rows for this response, available pushed as they come streaming in.toString()reactor.core.publisher.Mono<QueryChunkTrailer> trailer()Returns the trailer for this response, available at the end of the response eventually.Methods inherited from class com.couchbase.client.core.msg.BaseResponse
status
-
Constructor Details
-
QueryResponse
public QueryResponse(ResponseStatus status, QueryChunkHeader header, reactor.core.publisher.Flux<QueryChunkRow> rows, reactor.core.publisher.Mono<QueryChunkTrailer> trailer)
-
-
Method Details
-
errorSignatureNotPresent
-
errorWarningsNotPresent
-
errorProfileNotPresent
-
errorIncompleteResponse
-
header
Description copied from interface:ChunkedResponseReturns the header for this response, immediately available.- Specified by:
headerin interfaceChunkedResponse<QueryChunkHeader,QueryChunkRow, QueryChunkTrailer>
-
rows
Description copied from interface:ChunkedResponseReturns the rows for this response, available pushed as they come streaming in.- Specified by:
rowsin interfaceChunkedResponse<QueryChunkHeader,QueryChunkRow, QueryChunkTrailer>
-
trailer
Description copied from interface:ChunkedResponseReturns the trailer for this response, available at the end of the response eventually.- Specified by:
trailerin interfaceChunkedResponse<QueryChunkHeader,QueryChunkRow, QueryChunkTrailer>
-
toString
- Overrides:
toStringin classBaseResponse
-