PrefixScanningTransaction

lightdb.transaction.PrefixScanningTransaction
trait PrefixScanningTransaction[Doc <: Document[Doc], Model <: DocumentModel[Doc]] extends Transaction[Doc, Model], TransactionTraversalSupport[Doc, Model]

Attributes

Graph
Supertypes
trait TransactionTraversalSupport[Doc, Model]
trait Transaction[Doc, Model]
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

object traverse

Provides traversal functionality

Provides traversal functionality

Attributes

Inherited from:
TransactionTraversalSupport
Supertypes
class Object
trait Matchable
class Any

Value members

Abstract methods

def jsonPrefixStream(prefix: String): Stream[Json]
override def store: PrefixScanningStore[Doc, Model]

Attributes

Definition Classes

Concrete methods

def prefixStream(prefix: String): Stream[Doc]

Inherited methods

def apply[V](f: Model => (UniqueIndex[Doc, V], V)): Task[Doc]

Attributes

Inherited from:
Transaction
def apply(id: Id[Doc]): Task[Doc]

Attributes

Inherited from:
Transaction
final def close: Task[Unit]

Attributes

Inherited from:
Transaction
final def commit: Task[Unit]

Attributes

Inherited from:
Transaction
final def count: Task[Int]

Attributes

Inherited from:
Transaction
def delete(id: Id[Doc]): Task[Boolean]

Attributes

Inherited from:
Transaction
final def delete[V](f: Model => (UniqueIndex[Doc, V], V)): Task[Boolean]

Attributes

Inherited from:
Transaction
final def exists(id: Id[Doc]): Task[Boolean]

Attributes

Inherited from:
Transaction
protected def fromString(string: String): Doc

Attributes

Inherited from:
Transaction
def get(id: Id[Doc]): Task[Option[Doc]]

Attributes

Inherited from:
Transaction
def get[V](f: Model => (UniqueIndex[Doc, V], V)): Task[Option[Doc]]

Attributes

Inherited from:
Transaction
def getAll(ids: Seq[Id[Doc]]): Stream[Doc]

Attributes

Inherited from:
Transaction
def getOrCreate(id: Id[Doc], create: => Doc, establishLock: Boolean): Task[Doc]

Attributes

Inherited from:
Transaction
def insert(docs: Seq[Doc]): Task[Seq[Doc]]

Attributes

Inherited from:
Transaction
final def insert(doc: Doc): Task[Doc]

Attributes

Inherited from:
Transaction
def list: Task[List[Doc]]

Attributes

Inherited from:
Transaction
def modify(id: Id[Doc], establishLock: Boolean, deleteOnNone: Boolean)(f: Forge[Option[Doc], Option[Doc]]): Task[Option[Doc]]

Attributes

Inherited from:
Transaction
final def rollback: Task[Unit]

Attributes

Inherited from:
Transaction
def stream: Stream[Doc]

Attributes

Inherited from:
Transaction
protected def toJson(string: String): Json

Attributes

Inherited from:
Transaction
protected def toString(doc: Doc): String

Attributes

Inherited from:
Transaction
def upsert(docs: Seq[Doc]): Task[Seq[Doc]]

Attributes

Inherited from:
Transaction
final def upsert(doc: Doc): Task[Doc]

Attributes

Inherited from:
Transaction

Inherited and Abstract methods

protected def _close: Task[Unit]

Attributes

Inherited from:
Transaction
protected def _commit: Task[Unit]

Attributes

Inherited from:
Transaction
protected def _count: Task[Int]

Attributes

Inherited from:
Transaction
protected def _delete[V](index: UniqueIndex[Doc, V], value: V): Task[Boolean]

Attributes

Inherited from:
Transaction
protected def _exists(id: Id[Doc]): Task[Boolean]

Attributes

Inherited from:
Transaction
protected def _get[V](index: UniqueIndex[Doc, V], value: V): Task[Option[Doc]]

Attributes

Inherited from:
Transaction
protected def _insert(doc: Doc): Task[Doc]

Attributes

Inherited from:
Transaction
protected def _rollback: Task[Unit]

Attributes

Inherited from:
Transaction
protected def _upsert(doc: Doc): Task[Doc]

Attributes

Inherited from:
Transaction
def jsonStream: Stream[Json]

Attributes

Inherited from:
Transaction
def parent: Option[Transaction[Doc, Model]]

Attributes

Inherited from:
Transaction
def truncate: Task[Int]

Attributes

Inherited from:
Transaction