RecordDocumentCollection

lightdb.model.RecordDocumentCollection
abstract class RecordDocumentCollection[D <: RecordDocument[D]](collectionName: String, db: LightDB) extends Collection[D], RecordDocumentModel[D]

Attributes

Graph
Supertypes
class Collection[D]
trait DocumentModel[D]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

type Field[F] = IndexedField[F, D]

Attributes

Inherited from:
DocumentModel

Value members

Inherited methods

def apply(id: Id[D]): IO[D]

Attributes

Inherited from:
AbstractCollection
def commit(): IO[Unit]

Attributes

Inherited from:
AbstractCollection
def delete(id: Id[D], commitMode: CommitMode)(implicit existingLock: DocLock[D]): IO[Id[D]]

Attributes

Inherited from:
AbstractCollection
def dispose(): IO[Unit]

Attributes

Inherited from:
AbstractCollection
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
def get(id: Id[D]): IO[Option[D]]

Attributes

Inherited from:
AbstractCollection
def id(value: String): Id[D]

Attributes

Inherited from:
DocumentModel
def idStream: Stream[IO, Id[D]]

Attributes

Inherited from:
AbstractCollection
def isDirty: Boolean

Attributes

Inherited from:
AbstractCollection
def jsonStream: Stream[IO, Json]

Attributes

Inherited from:
AbstractCollection
override def model: DocumentModel[D]

Attributes

Definition Classes
Inherited from:
Collection
def modify(id: Id[D])(f: (Option[D]) => IO[Option[D]])(implicit existingLock: DocLock[D]): IO[Option[D]]

Attributes

Inherited from:
AbstractCollection
def reIndex(collection: AbstractCollection[D]): IO[Unit]

Attributes

Inherited from:
DocumentModel
def reIndex(): IO[Unit]

Attributes

Inherited from:
AbstractCollection
def set(doc: D, commitMode: CommitMode)(implicit existingLock: DocLock[D]): IO[D]

Attributes

Inherited from:
AbstractCollection
def setAll(docs: Seq[D], commitMode: CommitMode): IO[Int]

Attributes

Inherited from:
AbstractCollection
def size: IO[Int]

Attributes

Inherited from:
AbstractCollection
def stream: Stream[IO, D]

Attributes

Inherited from:
AbstractCollection
def truncate(commitMode: CommitMode): IO[Unit]

Attributes

Inherited from:
AbstractCollection
def update(): IO[Unit]

Attributes

Inherited from:
AbstractCollection
def withLock[Return](id: Id[D])(f: (DocLock[D]) => IO[Return])(implicit existingLock: DocLock[D]): IO[Return]

Attributes

Inherited from:
AbstractCollection

Inherited fields

val atomic: Boolean

Attributes

Inherited from:
Collection

Attributes

Inherited from:
DocumentActionSupport

Attributes

Inherited from:
Collection

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

Inherited and Abstract implicits

implicit val rw: RW[D]

Attributes

Inherited from:
AbstractCollection