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