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
ConstructorDescriptionQueryResponse
(ResponseStatus status, QueryChunkHeader header, Flux<QueryChunkRow> rows, Mono<QueryChunkTrailer> trailer) -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeException
static RuntimeException
static RuntimeException
static RuntimeException
header()
Returns the header for this response, immediately available.rows()
Returns the rows for this response, available pushed as they come streaming in.toString()
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, Flux<QueryChunkRow> rows, Mono<QueryChunkTrailer> trailer)
-
-
Method Details
-
errorSignatureNotPresent
-
errorWarningsNotPresent
-
errorProfileNotPresent
-
errorIncompleteResponse
-
header
Description copied from interface:ChunkedResponse
Returns the header for this response, immediately available.- Specified by:
header
in interfaceChunkedResponse<QueryChunkHeader,
QueryChunkRow, QueryChunkTrailer>
-
rows
Description copied from interface:ChunkedResponse
Returns the rows for this response, available pushed as they come streaming in.- Specified by:
rows
in interfaceChunkedResponse<QueryChunkHeader,
QueryChunkRow, QueryChunkTrailer>
-
trailer
Description copied from interface:ChunkedResponse
Returns the trailer for this response, available at the end of the response eventually.- Specified by:
trailer
in interfaceChunkedResponse<QueryChunkHeader,
QueryChunkRow, QueryChunkTrailer>
-
toString
- Overrides:
toString
in classBaseResponse
-