get

abstract fun get(key: String, verifyChecksums: Boolean = false, fillCache: Boolean = true): String?

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

Return

The value associated with the specified key, or null if the key does not exist.

Parameters

key

The key for which the value is to be retrieved.

verifyChecksums

Indicates whether checksums should be verified during iteration to ensure data integrity, default is false.

fillCache

Indicates whether the cache should be populated during iteration, that is to cache in memory the data read from disk, default is true.