lightdb

package lightdb

Members list

Type members

Classlikes

final case class Id[Doc](value: String) extends AnyVal

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
object Id

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Id.type
case class KeyValue(_id: Id[KeyValue], json: Json) extends Document[KeyValue]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
KeyValue.type

The database to be implemented. Collections may be used without a LightDB instance, but with drastically diminished functionality. It is always ideal for collections to be associated with a database.

The database to be implemented. Collections may be used without a LightDB instance, but with drastically diminished functionality. It is always ideal for collections to be associated with a database.

Attributes

Supertypes
class Object
trait Matchable
class Any
sealed trait Persistence

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Cached
object Memory
object Stored
object Persistence

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class Query[Doc <: Document[Doc], Model <: DocumentModel[Doc]](collection: Collection[Doc, Model], filter: Option[Filter[Doc]], sort: List[Sort], offset: Int, limit: Option[Int], countTotal: Boolean, scoreDocs: Boolean, minDocScore: Option[Double], facets: List[FacetQuery[Doc]])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Query[Doc, Model]
object Query

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Query.type
case class SearchResults[Doc <: Document[Doc], Model <: DocumentModel[Doc], V](model: Model, offset: Int, limit: Option[Int], total: Option[Int], iteratorWithScore: Iterator[(V, Double)], facetResults: Map[FacetField[Doc], FacetResult], transaction: Transaction[Doc])

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[Doc, G]
class ByField[Doc, 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
case class StoredValue[T](key: String, collection: Collection[KeyValue, KeyValue.type], default: () => T, persistence: Persistence)(implicit rw: RW[T])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
object Unique

Unique String generator

Unique String generator

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Unique.type