Package org.rostore.client
Class StringKeyList
java.lang.Object
org.rostore.client.StringKeyList
The class represents the result of key listing operation.
This operation is paginated, and any request will return only a portion of the entries. The client may decide to send a new request to continue listing.
The sorting of the keys in the list returned is not guaranteed.
If isMore()
is true, there are more keys in the storage, and the pagination
is expected to return more results.
To continue the listing the getContinuationKey()
should be used.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StringKeyList
public StringKeyList()
-
-
Method Details
-
getKeys
List of keys.List of keys can be incomplete, it is also generally not sorted.
- Returns:
- list keys
-
setKeys
-
isMore
public boolean isMore()- Returns:
true
if there are more entries
-
setMore
public void setMore(boolean more) -
getContinuationKey
Provides a continuation key for the next call- Returns:
- the continuation key or
null
-