Packages

c

lightdb.model

RecordDocumentCollection

abstract class RecordDocumentCollection[D <: RecordDocument[D]] extends Collection[D] with RecordDocumentModel[D]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RecordDocumentCollection
  2. RecordDocumentModel
  3. Collection
  4. DocumentModel
  5. AbstractCollection
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RecordDocumentCollection(collectionName: String, db: LightDB)

Type Members

  1. type Field[F] = IndexedField[F, D]
    Definition Classes
    DocumentModel

Abstract Value Members

  1. implicit abstract val rw: RW[D]
    Definition Classes
    DocumentModel

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(id: Id[D]): IO[D]
    Definition Classes
    AbstractCollection
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val atomic: Boolean
    Definition Classes
    CollectionAbstractCollection
  7. val autoCommit: Boolean
    Definition Classes
    CollectionAbstractCollection
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. val collectionName: String
    Definition Classes
    CollectionAbstractCollection
  10. def commit(): IO[Unit]
    Definition Classes
    AbstractCollection
  11. val db: LightDB
    Attributes
    protected[lightdb]
    Definition Classes
    CollectionAbstractCollection
  12. def delete(id: Id[D])(implicit existingLock: DocLock[D] = new DocLock.Empty[D]): IO[Option[D]]
    Definition Classes
    AbstractCollection
  13. def dispose(): IO[Unit]
    Definition Classes
    AbstractCollection
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def get(id: Id[D]): IO[Option[D]]
    Definition Classes
    AbstractCollection
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. def idStream: Stream[IO, Id[D]]
    Definition Classes
    AbstractCollection
  20. def indexedLinks: List[IndexedLinks[_, D]]
    Definition Classes
    DocumentModel
  21. def indexedLinks[V](name: String, createKey: (V) => String, createV: (D) => V, maxLinks: MaxLinks = MaxLinks.OverflowWarn()): IndexedLinks[V, D]

    Creates a key/value stored object with a list of links.

    Creates a key/value stored object with a list of links. This can be incredibly efficient for small lists, but much slower for larger sets of data and a standard index would be preferable.

    Definition Classes
    AbstractCollection
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def model: DocumentModel[D]
    Definition Classes
    CollectionAbstractCollection
  24. def modify(id: Id[D])(f: (Option[D]) => IO[Option[D]])(implicit existingLock: DocLock[D] = new DocLock.Empty[D]): IO[Option[D]]
    Definition Classes
    AbstractCollection
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  28. def postDelete(doc: D, collection: AbstractCollection[D]): IO[Unit]
    Definition Classes
    DocumentModel
  29. def postSet(doc: D, collection: AbstractCollection[D]): IO[Unit]

    Called after set

    Called after set

    Definition Classes
    DocumentModel
  30. def preDelete(id: Id[D], collection: AbstractCollection[D]): IO[Id[D]]
    Definition Classes
    DocumentModel
  31. def preSet(doc: D, collection: AbstractCollection[D]): IO[D]

    Called before preSetJson and before the data is set to the database

    Called before preSetJson and before the data is set to the database

    Definition Classes
    DocumentModel
  32. def preSetJson(json: Json, collection: AbstractCollection[D]): IO[Json]

    Called after preSet and before the data is set to the database

    Called after preSet and before the data is set to the database

    Definition Classes
    RecordDocumentModelDocumentModel
  33. def set(doc: D)(implicit existingLock: DocLock[D] = new DocLock.Empty[D]): IO[D]
    Definition Classes
    AbstractCollection
  34. def size: IO[Int]
    Definition Classes
    AbstractCollection
  35. lazy val store: Store
    Attributes
    protected
    Definition Classes
    AbstractCollection
  36. def stream: Stream[IO, D]
    Definition Classes
    AbstractCollection
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. def truncate(): IO[Unit]
    Definition Classes
    AbstractCollection
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. def withLock[Return](id: Id[D])(f: (DocLock[D]) => IO[Return])(implicit existingLock: DocLock[D] = new DocLock.Empty[D]): IO[Return]
    Definition Classes
    AbstractCollection

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from RecordDocumentModel[D]

Inherited from Collection[D]

Inherited from DocumentModel[D]

Inherited from AbstractCollection[D]

Inherited from AnyRef

Inherited from Any

Ungrouped