Package com.couchbase.client.core.msg.kv
Class RangeScanContinueResponse
java.lang.Object
com.couchbase.client.core.msg.BaseResponse
com.couchbase.client.core.msg.kv.RangeScanContinueResponse
- All Implemented Interfaces:
Response
-
Constructor Summary
ConstructorDescriptionRangeScanContinueResponse
(ResponseStatus status, Sinks.Many<CoreRangeScanItem> items, boolean keysOnly) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.items()
Methods inherited from class com.couchbase.client.core.msg.BaseResponse
status, toString
-
Constructor Details
-
RangeScanContinueResponse
public RangeScanContinueResponse(ResponseStatus status, Sinks.Many<CoreRangeScanItem> items, boolean keysOnly)
-
-
Method Details
-
items
-
feedItems
Method used in testing to feed items directly.- Parameters:
items
-signalLastItem
-completeFeed
-
-
feedItems
public 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.- Parameters:
itemsBuf
- the buffer with the items to feed.completeFeed
- if the sink needs to be completed at the end.
-
failFeed
-