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>
-
Method Summary
Modifier and Type Method Description static RuntimeException
errorIncompleteResponse()
static RuntimeException
errorProfileNotPresent()
static RuntimeException
errorSignatureNotPresent()
static RuntimeException
errorWarningsNotPresent()
QueryChunkHeader
header()
Returns the header for this response, immediately available.Flux<QueryChunkRow>
rows()
Returns the rows for this response, available pushed as they come streaming in.String
toString()
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
-
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
-