abstract class RecordDocumentCollection[D <: RecordDocument[D]] extends Collection[D]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RecordDocumentCollection
- Collection
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type Field[F] = IndexedField[F, D]
- Definition Classes
- Collection
Abstract Value Members
- implicit abstract val rw: RW[D]
- Definition Classes
- Collection
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(id: Id[D]): IO[D]
- Definition Classes
- Collection
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val atomic: Boolean
- Definition Classes
- Collection
- val autoCommit: Boolean
- Definition Classes
- Collection
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val collectionName: String
- Definition Classes
- Collection
- def commit(): IO[Unit]
- Definition Classes
- Collection
- val db: LightDB
- Attributes
- protected[lightdb]
- Definition Classes
- Collection
- def delete(id: Id[D])(implicit existingLock: DocLock[D] = new DocLock.Empty[D]): IO[Option[D]]
- Definition Classes
- Collection
- def dispose(): IO[Unit]
- Definition Classes
- Collection
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def get(id: Id[D]): IO[Option[D]]
- Definition Classes
- Collection
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def idStream: Stream[IO, Id[D]]
- Definition Classes
- Collection
- 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def postDelete(doc: D): IO[Unit]
- Attributes
- protected
- Definition Classes
- Collection
- def postSet(doc: D): IO[Unit]
Called after set
Called after set
- Attributes
- protected
- Definition Classes
- Collection
- def preDelete(id: Id[D]): IO[Id[D]]
- Attributes
- protected
- Definition Classes
- Collection
- 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
- 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
- RecordDocumentCollection → Collection
- def set(doc: D)(implicit existingLock: DocLock[D] = new DocLock.Empty[D]): IO[D]
- Definition Classes
- Collection
- def size: IO[Int]
- Definition Classes
- Collection
- lazy val store: Store
- Attributes
- protected
- Definition Classes
- Collection
- def stream: Stream[IO, D]
- Definition Classes
- Collection
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def truncate(): IO[Unit]
- Definition Classes
- Collection
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)