Package-level declarations
Functions
Link copied to clipboard
Link copied to clipboard
fun <K, V, Prefix> KeyValueStore<K, V>.prefixScanAsSequence(prefix: Prefix, prefixKeySerializer: Serializer<Prefix>): Sequence<KeyValue<K, V>>
Iterate over keys based on the key prefix.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <K, V> KeyValueStore<K, V>.reverseRangeAsSequence(from: K? = null, to: K? = null): Sequence<KeyValue<K, V>>
Generate a Sequence of a reverse-range of records.
Link copied to clipboard
inline fun <K, V, Prefix, Result> KeyValueStore<K, V>.usePrefixScan(prefix: Prefix, prefixKeySerializer: Serializer<Prefix>, operation: KeyValueIteratorOperation<K, V, Result>): Result
Iterate over records based on the key prefix.
Link copied to clipboard
inline fun <K, V, Result> KeyValueStore<K, V>.useReverseAll(operation: KeyValueIteratorOperation<K, V, Result>): Result
Reverse-iterate over all records.
Link copied to clipboard
inline fun <K, V, Result> KeyValueStore<K, V>.useReverseRange(from: K? = null, to: K? = null, operation: KeyValueIteratorOperation<K, V, Result>): Result
Reverse-iterate over a range of records.