public class QueryResponse extends BaseResponse implements ChunkedResponse<QueryChunkHeader,QueryChunkRow,QueryChunkTrailer>
| Constructor and Description |
|---|
QueryResponse(ResponseStatus status,
QueryChunkHeader header,
Flux<QueryChunkRow> rows,
Mono<QueryChunkTrailer> trailer) |
| 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.
|
statuspublic QueryResponse(ResponseStatus status, QueryChunkHeader header, Flux<QueryChunkRow> rows, Mono<QueryChunkTrailer> trailer)
public static RuntimeException errorSignatureNotPresent()
public static RuntimeException errorWarningsNotPresent()
public static RuntimeException errorProfileNotPresent()
public static RuntimeException errorIncompleteResponse()
public QueryChunkHeader header()
ChunkedResponseheader in interface ChunkedResponse<QueryChunkHeader,QueryChunkRow,QueryChunkTrailer>public Flux<QueryChunkRow> rows()
ChunkedResponserows in interface ChunkedResponse<QueryChunkHeader,QueryChunkRow,QueryChunkTrailer>public Mono<QueryChunkTrailer> trailer()
ChunkedResponsetrailer in interface ChunkedResponse<QueryChunkHeader,QueryChunkRow,QueryChunkTrailer>public String toString()
toString in class BaseResponseCopyright © 2024 Couchbase, Inc.. All rights reserved.