scan
open override fun scan(from: String?, verifyChecksums: Boolean, fillCache: Boolean): CloseableSequence<LevelDBReader.LazyEntry>
Creates an Iterable to traverse all key-value pairs in the LevelDB database. The sequence will start from the specified key, or from the first key if no key is specified. LevelDB sorts keys in lexicographic order.
IMPORTANT: The returned sequence must be closed after use to release any underlying resources.
Return
A CloseableSequence over key-value pairs, where each pair consists of a key and its associated value.
Parameters
verify Checksums
Indicates whether checksums should be verified during iteration to ensure data integrity.
fill Cache
Indicates whether the cache should be populated during iteration, that is to cache in memory the data read from disk.
from
The key from which to start the iteration, default is null.