p
lightdb
package lightdb
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- lightdb
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Package Members
- package aggregate
- package backup
- package cache
- package distance
- package doc
- package error
- package facet
- package feature
- package field
- package filter
- package graph
- package id
- package lock
- package materialized
- package spatial
- package store
- package transaction
- package traverse
- package trigger
- package upgrade
- package util
Type Members
- case class KeyValue(_id: Id[KeyValue], json: Json) extends Document[KeyValue] with Product with Serializable
- trait LightDB extends Initializable with Disposable with FeatureSupport[DBFeatureKey]
The database to be implemented.
The database to be implemented. stores *may* be used without a LightDB instance, but with drastically diminished functionality. It is always ideal for stores to be associated with a database.
- case class MultiStore[Key, Doc <: Document[Doc], Model <: DocumentModel[Doc], SM <: StoreManager](model: Model, storeManager: SM, nameFromKey: (Key) => String, db: LightDB) extends Product with Serializable
- implicit class NumericOps[A] extends AnyRef
- sealed trait Persistence extends AnyRef
- case class Query[Doc <: Document[Doc], Model <: DocumentModel[Doc], V](transaction: CollectionTransaction[Doc, Model], conversion: Conversion[Doc, V], filter: Option[Filter[Doc]] = None, sort: List[Sort] = Nil, offset: Int = 0, limit: Option[Int] = None, pageSize: Int = 1000, countTotal: Boolean = false, scoreDocs: Boolean = false, minDocScore: Option[Double] = None, facets: List[FacetQuery[Doc]] = Nil, optimize: Boolean = false) extends Product with Serializable
- case class SearchResults[Doc <: Document[Doc], Model <: DocumentModel[Doc], V](model: Model, offset: Int, limit: Option[Int], total: Option[Int], streamWithScore: Stream[(V, Double)], facetResults: Map[FacetField[Doc], FacetResult], transaction: Transaction[Doc, Model]) extends Product with Serializable
- trait Sort extends AnyRef
- sealed trait SortDirection extends AnyRef
- case class StoredValue[T](key: String, store: Store[KeyValue, KeyValue.type], default: () => T, persistence: Persistence)(implicit rw: RW[T]) extends Product with Serializable
- final case class Timestamp(value: Long = System.currentTimeMillis()) extends AnyVal with Product with Serializable
Value Members
- object KeyValue extends DocumentModel[KeyValue] with JsonConversion[KeyValue] with Serializable
- object Persistence
- object Query extends Serializable
- object Sort
- object SortDirection
- object Timestamp extends Serializable