THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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
- JavaDoc description of org.apache.kafka.streams.state.ReadOnlyKeyValueStore::range
...