tuweni / org.apache.tuweni.kv / LevelDBKeyValueStore / open

open

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

Open a LevelDB-backed key-value store.

Parameters

dbPath - The path to the levelDB database.

Exceptions

IOException - If an I/O error occurs.

Return
A key-value store.

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

Open a LevelDB-backed key-value store.

Parameters

dbPath - The path to the levelDB database.

options - Options for the levelDB database.

Exceptions

IOException - If an I/O error occurs.

Return
A key-value store.