public class RangeScanContinueResponse extends BaseResponse
| Constructor and Description |
|---|
RangeScanContinueResponse(ResponseStatus status,
Sinks.Many<CoreRangeScanItem> items,
boolean keysOnly) |
| Modifier and Type | Method and Description |
|---|---|
void |
failFeed(Throwable cause) |
void |
feedItems(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf itemsBuf,
boolean signalLastItem,
boolean completeFeed)
Feeds the items from the buffer into the sink and completes it if needed.
|
void |
feedItems(List<CoreRangeScanItem> items,
boolean signalLastItem,
boolean completeFeed)
Method used in testing to feed items directly.
|
Flux<CoreRangeScanItem> |
items() |
status, toStringpublic RangeScanContinueResponse(ResponseStatus status, Sinks.Many<CoreRangeScanItem> items, boolean keysOnly)
public Flux<CoreRangeScanItem> items()
public void feedItems(List<CoreRangeScanItem> items, boolean signalLastItem, boolean completeFeed)
items - signalLastItem - completeFeed - public void feedItems(com.couchbase.client.core.deps.io.netty.buffer.ByteBuf itemsBuf,
boolean signalLastItem,
boolean completeFeed)
itemsBuf - the buffer with the items to feed.completeFeed - if the sink needs to be completed at the end.public void failFeed(Throwable cause)
Copyright © 2024 Couchbase, Inc.. All rights reserved.