← ZIO Rocksdb docs

RocksDB

zio.rocksdb.RocksDB
See theRocksDB companion trait
object RocksDB extends Operations[RocksDB]

Attributes

Companion
trait
Source
RocksDB.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
RocksDB.type

Members list

Type members

Classlikes

class Live extends RocksDB

Attributes

Companion
object
Source
RocksDB.scala
Supertypes
trait RocksDB
class Object
trait Matchable
class Any
object Live

Attributes

Companion
class
Source
RocksDB.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Live.type

Value members

Concrete methods

def live(options: DBOptions, path: String, cfDescriptors: List[ColumnFamilyDescriptor]): ZLayer[Any, Throwable, RocksDB]

Opens the database at the specified path with the specified ColumnFamilies.

Opens the database at the specified path with the specified ColumnFamilies.

Attributes

Source
RocksDB.scala
def live(path: String): ZLayer[Any, Throwable, RocksDB]

Opens the default ColumnFamily for the database at the specified path.

Opens the default ColumnFamily for the database at the specified path.

Attributes

Source
RocksDB.scala
def live(options: Options, path: String): ZLayer[Any, Throwable, RocksDB]

Opens the default ColumnFamily for the database at the specified path.

Opens the default ColumnFamily for the database at the specified path.

Attributes

Source
RocksDB.scala
def liveAllColumnFamilies(options: DBOptions, columnFamilyOptions: ColumnFamilyOptions, path: String): ZLayer[Any, Throwable, RocksDB]

Opens all existing column families for the database at the specified path

Opens all existing column families for the database at the specified path

Attributes

Source
RocksDB.scala

Inherited methods

def createColumnFamilies(columnFamilyOptions: ColumnFamilyOptions, columnFamilyNames: List[Array[Byte]]): ZIO[RocksDB, Throwable, List[ColumnFamilyHandle]]

Attributes

Inherited from:
Operations
Source
Operations.scala
def createColumnFamilies(columnFamilyDescriptors: List[ColumnFamilyDescriptor]): ZIO[RocksDB, Throwable, List[ColumnFamilyHandle]]

Attributes

Inherited from:
Operations
Source
Operations.scala
def createColumnFamily(columnFamilyDescriptor: ColumnFamilyDescriptor): ZIO[RocksDB, Throwable, ColumnFamilyHandle]

Attributes

Inherited from:
Operations
Source
Operations.scala
def delete(cfHandle: ColumnFamilyHandle, key: Array[Byte]): RIO[RocksDB, Unit]

Attributes

Inherited from:
Operations
Source
Operations.scala
def delete(key: Array[Byte]): RIO[RocksDB, Unit]

Attributes

Inherited from:
Operations
Source
Operations.scala
def dropColumnFamilies(columnFamilyHandles: List[ColumnFamilyHandle]): ZIO[RocksDB, Throwable, Unit]

Attributes

Inherited from:
Operations
Source
Operations.scala
def dropColumnFamily(columnFamilyHandle: ColumnFamilyHandle): ZIO[RocksDB, Throwable, Unit]

Attributes

Inherited from:
Operations
Source
Operations.scala
def get(cfHandle: ColumnFamilyHandle, key: Array[Byte]): RIO[RocksDB, Option[Array[Byte]]]

Attributes

Inherited from:
Operations
Source
Operations.scala
def get(key: Array[Byte]): RIO[RocksDB, Option[Array[Byte]]]

Attributes

Inherited from:
Operations
Source
Operations.scala
def multiGetAsList(handles: List[ColumnFamilyHandle], keys: List[Array[Byte]]): RIO[RocksDB, List[Option[Array[Byte]]]]

Attributes

Inherited from:
Operations
Source
Operations.scala

Attributes

Inherited from:
Operations
Source
Operations.scala
def newIterator(cfHandle: ColumnFamilyHandle, direction: Direction, position: Position): ZStream[RocksDB, Throwable, (Array[Byte], Array[Byte])]

Attributes

Inherited from:
Operations
Source
Operations.scala
def newIterator(cfHandle: ColumnFamilyHandle): ZStream[RocksDB, Throwable, (Array[Byte], Array[Byte])]

Attributes

Inherited from:
Operations
Source
Operations.scala

Attributes

Inherited from:
Operations
Source
Operations.scala
def newIterators(cfHandles: List[ColumnFamilyHandle]): ZStream[RocksDB, Throwable, (ColumnFamilyHandle, ZStream[RocksDB, Throwable, (Array[Byte], Array[Byte])])]

Attributes

Inherited from:
Operations
Source
Operations.scala
def put(cfHandle: ColumnFamilyHandle, key: Array[Byte], value: Array[Byte]): RIO[RocksDB, Unit]

Attributes

Inherited from:
Operations
Source
Operations.scala
def put(key: Array[Byte], value: Array[Byte]): RIO[RocksDB, Unit]

Attributes

Inherited from:
Operations
Source
Operations.scala