| Package | Description |
|---|---|
| io.zeebe.logstreams.rocksdb |
| Modifier and Type | Method and Description |
|---|---|
void |
ZbRocksDb.forEach(org.rocksdb.ColumnFamilyHandle columnFamily,
ZbRocksDb.IteratorCallback callback) |
void |
ZbRocksDb.forEachPrefixed(org.rocksdb.ColumnFamilyHandle columnFamily,
org.agrona.DirectBuffer prefix,
ZbRocksDb.IteratorCallback callback)
NOTE: it doesn't seem possible in Java RocksDB to set a flexible prefix extractor on iterators
at the moment, so using prefixes seem to be mostly related to skipping files that do not
contain keys with the given prefix (which is useful anyway), but it will still iterate over all
keys contained in those files, so we still need to make sure the key actually matches the
prefix.
|
Copyright © 2017–2018 camunda services GmbH. All rights reserved.