NativeLevelDBSnapshot

class NativeLevelDBSnapshot(nativeSnapshot: <Error class: unknown class><<Error class: unknown class>>, nativeDatabase: <Error class: unknown class><<Error class: unknown class>>) : LevelDBSnapshot

Constructors

Link copied to clipboard
constructor(nativeSnapshot: <Error class: unknown class><<Error class: unknown class>>, nativeDatabase: <Error class: unknown class><<Error class: unknown class>>)

Properties

Link copied to clipboard
open override val createdAt: Instant

Functions

Link copied to clipboard
open override fun get(key: String, verifyChecksums: Boolean, fillCache: Boolean): String?

Retrieves the value associated with a given key in the LevelDB database.

Link copied to clipboard
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.