← ZIO Rocksdb docs

TransactionDB

zio.rocksdb.TransactionDB
See theTransactionDB companion trait

Attributes

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

Members list

Type members

Classlikes

object Live

Attributes

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

Value members

Concrete methods

def atomically[R, E >: Throwable, A](writeOptions: WriteOptions)(zio: ZIO[Transaction & R, E, A])(implicit A: TransactionWithSomething): ZIO[TransactionDB & R, E, A]

Attributes

Source
TransactionDB.scala
def atomically[R, E >: Throwable, A](zio: ZIO[Transaction & R, E, A])(implicit A: TransactionWithSomething): ZIO[TransactionDB & R, E, A]

Attributes

Source
TransactionDB.scala
def atomically[E >: Throwable, A](writeOptions: WriteOptions)(zio: ZIO[Transaction, E, A])(implicit A: TransactionOnly): ZIO[TransactionDB, E, A]

Attributes

Source
TransactionDB.scala
def atomically[E >: Throwable, A](zio: ZIO[Transaction, E, A])(implicit A: TransactionOnly): ZIO[TransactionDB, E, A]

Attributes

Source
TransactionDB.scala
def beginTransaction(writeOptions: WriteOptions): ZIO[TransactionDB & Scope, Throwable, Transaction]

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
TransactionDB.scala

Inherited methods

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Operations
Source
Operations.scala

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Operations
Source
Operations.scala

Attributes

Inherited from:
Operations
Source
Operations.scala
def multiGetAsList(handles: List[ColumnFamilyHandle], keys: List[Array[Byte]]): RIO[TransactionDB, 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[TransactionDB, Throwable, (Array[Byte], Array[Byte])]

Attributes

Inherited from:
Operations
Source
Operations.scala
def newIterator(cfHandle: ColumnFamilyHandle): ZStream[TransactionDB, 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[TransactionDB, Throwable, (ColumnFamilyHandle, ZStream[TransactionDB, Throwable, (Array[Byte], Array[Byte])])]

Attributes

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

Attributes

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

Attributes

Inherited from:
Operations
Source
Operations.scala