Packages

t

lightdb.index

IndexSupport

trait IndexSupport[D <: Document[D]] extends Collection[D]

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

Type Members

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

Abstract Value Members

  1. abstract def doSearch(query: Query[D], context: SearchContext[D], offset: Int, after: Option[PagedResults[D]]): IO[PagedResults[D]]
  2. abstract def index: Indexer[D]
  3. abstract def indexDoc(doc: D, fields: List[IndexedField[_, D]]): IO[Unit]
    Attributes
    protected
  4. 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
    IndexSupportCollection
  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
    IndexSupportCollection
  27. def postSet(doc: D): IO[Unit]

    Called after set

    Called after set

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

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