LMDBInstance

lightdb.lmdb.LMDBInstance
case class LMDBInstance(env: Env[ByteBuffer], dbi: Dbi[ByteBuffer])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def close(): Unit
def delete(txn: Txn[ByteBuffer], key: Array[Byte]): Boolean
def get(txn: Txn[ByteBuffer], key: Array[Byte]): Option[Array[Byte]]
def iterator(txn: Txn[ByteBuffer]): Iterator[(Array[Byte], Array[Byte])]
def newRead(): Txn[ByteBuffer]
def prefixScan(txn: Txn[ByteBuffer], prefix: Array[Byte]): Iterator[(Array[Byte], Array[Byte])]
def put(txn: Txn[ByteBuffer], key: Array[Byte], value: Array[Byte], overwrite: Boolean): Unit
def withWrite[Return](f: Txn[ByteBuffer] => Task[Return]): Task[Return]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product