THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Table of Contents |
---|
Status
Current state: Under DiscussionImplemented (for 3.1.0)
Discussion thread: here
JIRA: KAFKA-4063
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
...
Code Block | ||
---|---|---|
| ||
//return an iterator for all the records with a key greater (or equal) than "key-x"
//starting with the smallest record
KeyValueIterator<String, String> iter = store.range("key-x", null);
//return an iterator for all the records with a key less (or equal) than "key-x"
//starting with the smallest record
KeyValueIterator<String, String> iter = store.range(null, "key-x");
//return an iterator for all the records with a key greater (or equal) than "key-x"
//starting with the largest record
KeyValueIterator<String, String> iter = store.reverseRange("key-x", null);
//return all the records in the store, equivalent to store.all()
KeyValueIterator<String, String> iter = store.range(null, null); |
Public Interfaces
...