Packages

case class Query[D <: Document[D], V](indexSupport: IndexSupport[D], collection: AbstractCollection[D], convert: (D) => IO[V], filter: Option[Filter[D]] = None, sort: List[Sort] = Nil, scoreDocs: Boolean = false, offset: Int = 0, pageSize: Int = 1_000, limit: Option[Int] = None, countTotal: Boolean = true) extends Product with Serializable

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Query
  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 Query(indexSupport: IndexSupport[D], collection: AbstractCollection[D], convert: (D) => IO[V], filter: Option[Filter[D]] = None, sort: List[Sort] = Nil, scoreDocs: Boolean = false, offset: Int = 0, pageSize: Int = 1_000, limit: Option[Int] = None, countTotal: Boolean = true)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearSort: Query[D, V]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. val collection: AbstractCollection[D]
  8. def convert[T](converter: (D) => T): Query[D, T]
  9. val convert: (D) => IO[V]
  10. def count: IO[Int]
  11. def countTotal(b: Boolean): Query[D, V]
  12. val countTotal: Boolean
  13. def distance(field: IndexedField[GeoPoint, D], from: GeoPoint, sort: Boolean = true, radius: Option[Length] = None): Query[D, DistanceAndDoc[D]]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def evalConvert[T](converter: (D) => IO[T]): Query[D, T]
  16. def filter(filter: Filter[D], and: Boolean = false): Query[D, V]
  17. val filter: Option[Filter[D]]
  18. def filters(filters: Filter[D]*): Query[D, V]
  19. def first: IO[Option[V]]
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  21. def idStream(implicit context: SearchContext[D]): Stream[IO, Id[D]]
  22. val indexSupport: IndexSupport[D]
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def limit(limit: Int): Query[D, V]
  25. val limit: Option[Int]
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  29. def offset(offset: Int): Query[D, V]
  30. val offset: Int
  31. def one: IO[V]
  32. def pageSize(size: Int): Query[D, V]
  33. val pageSize: Int
  34. def pageStream(implicit context: SearchContext[D]): Stream[IO, PagedResults[D, V]]
  35. def productElementNames: Iterator[String]
    Definition Classes
    Product
  36. def scoreDocs(b: Boolean): Query[D, V]
  37. val scoreDocs: Boolean
  38. def search()(implicit context: SearchContext[D]): IO[PagedResults[D, V]]
  39. def sort(sort: Sort*): Query[D, V]
  40. val sort: List[Sort]
  41. def stream(implicit context: SearchContext[D]): Stream[IO, V]
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toIdList: IO[List[Id[D]]]
  44. def toList: IO[List[V]]
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. object scored

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