public class GetResponse extends AbstractResponse<RangeResponse>
Response.Header| Constructor and Description |
|---|
GetResponse(RangeResponse rangeResponse,
ByteSequence namespace) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCount()
return the number of keys within the range when requested.
|
List<KeyValue> |
getKvs()
return a list of key-value pairs matched by the range request.
|
boolean |
isMore()
more indicates if there are more keys to return in the requested range.
|
getHeader, getResponse, getResponseHeader, toStringpublic GetResponse(RangeResponse rangeResponse, ByteSequence namespace)
public List<KeyValue> getKvs()
public boolean isMore()
public long getCount()
Copyright © 2020. All rights reserved.