LevelDBBatchOperation

@Serializable
sealed interface LevelDBBatchOperation

Represents a batch operation to be performed on a LevelDB database. This sealed interface encapsulates different types of operations that can be executed in a batch.

Inheritors

Types

Link copied to clipboard
@Serializable
data class Delete(val key: String) : LevelDBBatchOperation

Represents a 'delete' operation in a batch for a LevelDB database.

Link copied to clipboard
@Serializable
data class Put(val key: String, val value: String) : LevelDBBatchOperation

Represents a 'put' operation in a batch for a LevelDB database.

Properties

Link copied to clipboard
abstract val key: String

The key associated with a LevelDB database operation. Used in various batch operations to specify the target key for put or delete actions.