Class SearchResponse
- java.lang.Object
-
- com.couchbase.client.core.msg.BaseResponse
-
- com.couchbase.client.core.msg.search.SearchResponse
-
- All Implemented Interfaces:
ChunkedResponse<SearchChunkHeader,SearchChunkRow,SearchChunkTrailer>,Response
public class SearchResponse extends BaseResponse implements ChunkedResponse<SearchChunkHeader,SearchChunkRow,SearchChunkTrailer>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchChunkHeaderheader()Returns the header for this response, immediately available.Flux<SearchChunkRow>rows()Returns the rows for this response, available pushed as they come streaming in.Mono<SearchChunkTrailer>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, toString
-
-
-
-
Method Detail
-
header
public SearchChunkHeader header()
Description copied from interface:ChunkedResponseReturns the header for this response, immediately available.- Specified by:
headerin interfaceChunkedResponse<SearchChunkHeader,SearchChunkRow,SearchChunkTrailer>
-
rows
public Flux<SearchChunkRow> rows()
Description copied from interface:ChunkedResponseReturns the rows for this response, available pushed as they come streaming in.- Specified by:
rowsin interfaceChunkedResponse<SearchChunkHeader,SearchChunkRow,SearchChunkTrailer>
-
trailer
public Mono<SearchChunkTrailer> trailer()
Description copied from interface:ChunkedResponseReturns the trailer for this response, available at the end of the response eventually.- Specified by:
trailerin interfaceChunkedResponse<SearchChunkHeader,SearchChunkRow,SearchChunkTrailer>
-
-