AbstractCollection

lightdb.model.AbstractCollection
See theAbstractCollection companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def atomic: Boolean
def autoCommit: Boolean
def collectionName: String

Concrete methods

def apply(id: Id[D]): IO[D]
def commit(): IO[Unit]
def delete(id: Id[D])(implicit existingLock: DocLock[D]): IO[Id[D]]
def dispose(): IO[Unit]
def get(id: Id[D]): IO[Option[D]]
def idStream: Stream[IO, Id[D]]
def modify(id: Id[D])(f: (Option[D]) => IO[Option[D]])(implicit existingLock: DocLock[D]): IO[Option[D]]
def set(doc: D)(implicit existingLock: DocLock[D]): IO[D]
def size: IO[Int]
def stream: Stream[IO, D]
def truncate(): IO[Unit]
def withLock[Return](id: Id[D])(f: (DocLock[D]) => IO[Return])(implicit existingLock: DocLock[D]): IO[Return]

Inherited methods

protected def doDelete(id: Id[D], collection: AbstractCollection[D], get: (Id[D]) => IO[D], delete: (Id[D]) => IO[Unit])(implicit lock: DocLock[D]): IO[Id[D]]

Attributes

Inherited from:
DocumentActionSupport
protected def doSet(doc: D, collection: AbstractCollection[D], set: (Id[D], Json) => IO[Unit])(implicit lock: DocLock[D]): IO[D]

Attributes

Inherited from:
DocumentActionSupport

Inherited fields

Attributes

Inherited from:
DocumentActionSupport

Attributes

Inherited from:
DocumentActionSupport

Attributes

Inherited from:
DocumentActionSupport

Attributes

Inherited from:
DocumentActionSupport

Attributes

Inherited from:
DocumentActionSupport

Attributes

Inherited from:
DocumentActionSupport
val preSet: DocumentActions[D, D]

Attributes

Inherited from:
DocumentActionSupport
val preSetJson: DocumentActions[D, Json]

Attributes

Inherited from:
DocumentActionSupport

Attributes

Inherited from:
DocumentActionSupport

Implicits

Implicits

implicit val rw: RW[D]