c

lightdb.async

AsyncQuery

case class AsyncQuery[Doc <: Document[Doc], Model <: DocumentModel[Doc]](collection: Collection[Doc, Model], filter: Option[Filter[Doc]] = None, sort: List[Sort] = Nil, offset: Int = 0, limit: Option[Int] = None, countTotal: Boolean = false, scoreDocs: Boolean = false, minDocScore: Option[Double] = None) extends Product with Serializable

Self Type
AsyncQuery[Doc, Model]
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncQuery
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AsyncQuery(collection: Collection[Doc, Model], filter: Option[Filter[Doc]] = None, sort: List[Sort] = Nil, offset: Int = 0, limit: Option[Int] = None, countTotal: Boolean = false, scoreDocs: Boolean = false, minDocScore: Option[Double] = None)

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 aggregate(f: (Model) => List[AggregateFunction[_, _, Doc]]): AsyncAggregateQuery[Doc, Model]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clearFilters: AsyncQuery[Doc, Model]
  7. def clearLimit: AsyncQuery[Doc, Model]
  8. def clearSort: AsyncQuery[Doc, Model]
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. val collection: Collection[Doc, Model]
  11. def count(implicit transaction: Transaction[Doc]): IO[Int]
  12. def countTotal(b: Boolean): AsyncQuery[Doc, Model]
  13. val countTotal: Boolean
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def filter(f: (Model) => Filter[Doc]): AsyncQuery[Doc, Model]
  16. val filter: Option[Filter[Doc]]
  17. def first(implicit transaction: Transaction[Doc]): IO[Option[Doc]]
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. def grouped[F](f: (Model) => Field[Doc, F], direction: SortDirection = SortDirection.Ascending)(implicit transaction: Transaction[Doc]): Stream[IO, (F, List[Doc])]
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def limit(limit: Int): AsyncQuery[Doc, Model]
  22. val limit: Option[Int]
  23. def minDocScore(min: Double): AsyncQuery[Doc, Model]
  24. val minDocScore: Option[Double]
  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 offset(offset: Int): AsyncQuery[Doc, Model]
  29. val offset: Int
  30. def one(implicit transaction: Transaction[Doc]): IO[Doc]
  31. def productElementNames: Iterator[String]
    Definition Classes
    Product
  32. val scoreDocs: Boolean
  33. def scored: AsyncQuery[Doc, Model]
  34. def sort(sort: Sort*): AsyncQuery[Doc, Model]
  35. val sort: List[Sort]
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toList(implicit transaction: Transaction[Doc]): IO[List[Doc]]
  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. object search
  42. object stream

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 Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped