Packages

c

lightdb

RecordDocumentCollection

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

Linear Supertypes
Collection[D], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RecordDocumentCollection
  2. Collection
  3. AnyRef
  4. 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
    Collection

Abstract Value Members

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

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
    Collection
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val atomic: Boolean
    Definition Classes
    Collection
  7. val autoCommit: Boolean
    Definition Classes
    Collection
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. val collectionName: String
    Definition Classes
    Collection
  10. def commit(): IO[Unit]
    Definition Classes
    Collection
  11. val db: LightDB
    Attributes
    protected[lightdb]
    Definition Classes
    Collection
  12. def delete(id: Id[D])(implicit existingLock: DocLock[D] = new DocLock.Empty[D]): IO[Option[D]]
    Definition Classes
    Collection
  13. def dispose(): IO[Unit]
    Definition Classes
    Collection
  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
    Collection
  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
    Collection
  20. 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
    Collection
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def modify(id: Id[D])(f: (Option[D]) => IO[Option[D]])(implicit existingLock: DocLock[D] = new DocLock.Empty[D]): IO[Option[D]]
    Definition Classes
    Collection
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  26. def postDelete(doc: D): IO[Unit]
    Attributes
    protected
    Definition Classes
    Collection
  27. def postSet(doc: D): IO[Unit]

    Called after set

    Called after set

    Attributes
    protected
    Definition Classes
    Collection
  28. def preDelete(id: Id[D]): IO[Id[D]]
    Attributes
    protected
    Definition Classes
    Collection
  29. def preSet(doc: 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

    Attributes
    protected
    Definition Classes
    Collection
  30. def preSetJson(json: Json): 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

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

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 Collection[D]

Inherited from AnyRef

Inherited from Any

Ungrouped