MaterializedModel

lightdb.doc.MaterializedModel
trait MaterializedModel[Doc <: Document[Doc], MaterialDoc <: Document[MaterialDoc], MaterialModel <: DocumentModel[MaterialDoc]] extends DocumentModel[Doc]

Attributes

Graph
Supertypes
trait DocumentModel[Doc]
class Object
trait Matchable
class Any
Known subtypes
trait MaterializedBatchModel[Doc, MaterialDoc, MaterialModel]
Self type
MaterializedModel[Doc, MaterialDoc, MaterialModel]

Members list

Type members

Inherited classlikes

object field

Attributes

Inherited from:
DocumentModel
Supertypes
class Object
trait Matchable
class Any

Inherited types

type F[V] = Field[Doc, V]

Attributes

Inherited from:
DocumentModel
type FF = FacetField[Doc]

Attributes

Inherited from:
DocumentModel
type I[V] = Indexed[Doc, V]

Attributes

Inherited from:
DocumentModel
type T = Tokenized[Doc]

Attributes

Inherited from:
DocumentModel
type U[V] = UniqueIndex[Doc, V]

Attributes

Inherited from:
DocumentModel

Value members

Abstract methods

protected def adding(doc: MaterialDoc, transaction: Transaction[MaterialDoc, MaterialModel]): Task[Unit]
def materialStore: Store[MaterialDoc, MaterialModel]
protected def modifying(oldDoc: MaterialDoc, newDoc: MaterialDoc, transaction: Transaction[MaterialDoc, MaterialModel]): Task[Unit]
protected def removing(doc: MaterialDoc, transaction: Transaction[MaterialDoc, MaterialModel]): Task[Unit]
protected def transactionEnd(transaction: Transaction[MaterialDoc, MaterialModel]): Task[Unit]
protected def transactionStart(transaction: Transaction[MaterialDoc, MaterialModel]): Task[Unit]

Concrete methods

override protected def init[Model <: DocumentModel[Doc]](store: Store[Doc, Model]): Task[Unit]

Attributes

Definition Classes

Inherited methods

def facetFields: List[FF]

Attributes

Inherited from:
DocumentModel
def fieldByName[F](name: String): Field[Doc, F]

Attributes

Inherited from:
DocumentModel
def fields: List[Field[Doc, _]]

Attributes

Inherited from:
DocumentModel
def id(value: String): Id[Doc]

Attributes

Inherited from:
DocumentModel
def indexedFields: List[Field[Doc, _]]

Attributes

Inherited from:
DocumentModel
final def initialize[Model <: DocumentModel[Doc]](store: Store[Doc, Model]): Task[Unit]

Attributes

Inherited from:
DocumentModel

Inherited and Abstract methods

def map2Doc(map: Map[String, Any]): Doc

Attributes

Inherited from:
DocumentModel

Inherited fields

val _id: UniqueIndex[Doc, Id[Doc]]

Attributes

Inherited from:
DocumentModel
lazy val builder: FilterBuilder[Doc, this.type]

Attributes

Inherited from:
DocumentModel

Implicits

Inherited and Abstract implicits

implicit def rw: RW[Doc]

Attributes

Inherited from:
DocumentModel