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
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)(implicit transaction: Transaction[MaterialDoc]): Unit
def materialCollection: Collection[MaterialDoc, MaterialModel]
protected def modifying(oldDoc: MaterialDoc, newDoc: MaterialDoc)(implicit transaction: Transaction[MaterialDoc]): Unit
protected def removing(doc: MaterialDoc)(implicit transaction: Transaction[MaterialDoc]): Unit

Concrete methods

override def init[Model <: DocumentModel[Doc]](collection: Collection[Doc, Model]): 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

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, MaterializedModel[Doc, MaterialDoc, MaterialModel]]

Attributes

Inherited from:
DocumentModel

Implicits

Inherited and Abstract implicits

implicit def rw: RW[Doc]

Attributes

Inherited from:
DocumentModel