lightdb.query

package lightdb.query

Members list

Type members

Classlikes

case class DistanceAndDoc[D <: Document[D]](doc: D, distance: Length)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait Filter[D <: Document[D]]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Filter

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Filter.type
trait PageContext[D <: Document[D]]

Attributes

Supertypes
class Object
trait Matchable
class Any
case class PagedResults[D <: Document[D], V](query: Query[D, V], context: PageContext[D], offset: Int, total: Int, idsAndScores: List[(Id[D], Double)], getter: Option[(Id[D]) => IO[D]])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Query[D <: Document[D], V](indexSupport: IndexSupport[D], collection: AbstractCollection[D], convert: D => IO[V], filter: Option[Filter[D]], sort: List[Sort], scoreDocs: Boolean, offset: Int, pageSize: Int, limit: Option[Int], countTotal: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SearchContext[D <: Document[D]](indexSupport: IndexSupport[D])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait Sort

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object BestMatch
class ByDistance[D]
class ByField[D, F]
object IndexOrder
object Sort

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Sort.type
sealed trait SortDirection

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Ascending
object Descending
object SortDirection

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type