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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
errorSignatureNotPresent
public static RuntimeException errorSignatureNotPresent()
-
errorWarningsNotPresent
public static RuntimeException errorWarningsNotPresent()
-
errorProfileNotPresent
public static RuntimeException errorProfileNotPresent()
-
errorIncompleteResponse
public static RuntimeException errorIncompleteResponse()
-
header
public QueryChunkHeader header()
Description copied from interface:ChunkedResponse
Returns the header for this response, immediately available.- Specified by:
header
in interfaceChunkedResponse<QueryChunkHeader,QueryChunkRow,QueryChunkTrailer>
-
rows
public Flux<QueryChunkRow> 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
public Mono<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
public String toString()
- Overrides:
toString
in classBaseResponse
-
-