public class QueryResponse extends BaseResponse implements ChunkedResponse<QueryChunkHeader,QueryChunkRow,QueryChunkTrailer>
Modifier and Type | Method and 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.
|
status
public static RuntimeException errorSignatureNotPresent()
public static RuntimeException errorWarningsNotPresent()
public static RuntimeException errorProfileNotPresent()
public static RuntimeException errorIncompleteResponse()
public QueryChunkHeader header()
ChunkedResponse
header
in interface ChunkedResponse<QueryChunkHeader,QueryChunkRow,QueryChunkTrailer>
public Flux<QueryChunkRow> rows()
ChunkedResponse
rows
in interface ChunkedResponse<QueryChunkHeader,QueryChunkRow,QueryChunkTrailer>
public Mono<QueryChunkTrailer> trailer()
ChunkedResponse
trailer
in interface ChunkedResponse<QueryChunkHeader,QueryChunkRow,QueryChunkTrailer>
Copyright © 2020 Couchbase, Inc.. All rights reserved.