tuweni / org.apache.tuweni.kv / RocksDBKeyValueStore / open

open

@JvmStatic fun open(dbPath: Path): RocksDBKeyValueStore (source)

Open a RocksDB-backed key-value store.

Parameters

dbPath - The path to the RocksDB database.

Exceptions

IOException - If an I/O error occurs.

Return
A key-value store.

@JvmStatic fun open(dbPath: Path, options: <ERROR CLASS>): RocksDBKeyValueStore (source)

Open a RocksDB-backed key-value store.

Parameters

dbPath - The path to the RocksDB database.

options - Options for the RocksDB database.

Exceptions

IOException - If an I/O error occurs.

Return
A key-value store.