Package-level declarations
Types
Represents a sequence of elements that can be closed to release any underlying resources.
A simple interface for interacting with a LevelDB database. Provides methods to perform various operations such as put, get, delete, batch operations, iteration, snapshot creation, and compaction.
Constructs and manages a collection of batch operations for LevelDB.
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.
Configuration options for creating and managing a LevelDB instance.
Interface for reading from a LevelDB database. Provides methods for getting values and iterating over key-value pairs.
Represents a snapshot of the LevelDB database at a specific point in time. A snapshot provides a consistent view of the database, unaffected by subsequent changes.
Functions
Wraps a Sequence into a CloseableSequence with a custom close action.
Constructs and builds a batch operation for LevelDB using a customizable builder.
Destroys the database located at the specified path using the provided options.
Creates a new instance of a LevelDB database at the specified file path.
Repairs the database at the specified path using the provided options.
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.
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.