LazyEntry

@Serializable
data class LazyEntry(val key: <Error class: unknown class><String>, val value: <Error class: unknown class><String>)

Represents a key-value pair in a LevelDB database. The key and value are both lazy-initialized and read from the database only when accessed for the first time.

Constructors

Link copied to clipboard
constructor(key: <Error class: unknown class><String>, value: <Error class: unknown class><String>)

Properties

Link copied to clipboard
val key: <Error class: unknown class><String>

The key of the pair.

Link copied to clipboard
val value: <Error class: unknown class><String>

The value of the pair.

Functions

Link copied to clipboard

Retrieves the value associated with a given key in the LevelDB database. This is a convenience method that returns the value as a LevelDBReader.Entry object. This method can be invoked only if the sequence is not closed.