Packages

abstract class Collection[D <: Document[D]] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Collection
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Collection(collectionName: String, db: LightDB, autoCommit: Boolean = false)

Type Members

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

Abstract Value Members

  1. implicit abstract val rw: RW[D]

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]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val autoCommit: Boolean
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. val collectionName: String
  9. def commit(): IO[Unit]
  10. val db: LightDB
    Attributes
    protected[lightdb]
  11. def delete(id: Id[D]): IO[Option[D]]
  12. def dispose(): IO[Unit]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def get(id: Id[D]): IO[Option[D]]
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. def idStream: Stream[IO, Id[D]]
  19. 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.

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def modify(id: Id[D])(f: (Option[D]) => IO[Option[D]]): IO[Option[D]]
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  25. def postDelete(doc: D): IO[Unit]
    Attributes
    protected
  26. def postSet(doc: D): IO[Unit]

    Called after set

    Called after set

    Attributes
    protected
  27. def preDelete(id: Id[D]): IO[Id[D]]
    Attributes
    protected
  28. def preSet(doc: D): IO[D]

    Called before set

    Called before set

    Attributes
    protected
  29. def set(doc: D): IO[D]
  30. def size: IO[Int]
  31. lazy val store: Store
    Attributes
    protected
  32. def stream: Stream[IO, D]
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def truncate(): IO[Unit]
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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 AnyRef

Inherited from Any

Ungrouped