AsyncSearchResults

lightdb.async.AsyncSearchResults
case class AsyncSearchResults[Doc <: Document[Doc], Model <: DocumentModel[Doc], V](model: Model, offset: Int, limit: Option[Int], total: Option[Int], scoredStream: Stream[IO, (V, Double)], facetResults: Map[FacetField[Doc], FacetResult], transaction: Transaction[Doc])

Attributes

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

Members list

Value members

Concrete methods

def facet(f: Model => FacetField[Doc]): FacetResult
def first: IO[Option[V]]
def getFacet(f: Model => FacetField[Doc]): Option[FacetResult]
def one: IO[V]
def stream: Stream[IO, V]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product