DocumentModel

lightdb.doc.DocumentModel
trait DocumentModel[Doc <: Document[Doc]]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait JsonConversion[Doc]
object KeyValue
trait MaterializedModel[Doc, MaterialDoc, MaterialModel]
trait RecordDocumentModel[Doc]

Members list

Type members

Classlikes

object field

Attributes

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

Types

type F[V] = Field[Doc, V]
type FF = FacetField[Doc]
type I[V] = Indexed[Doc, V]
type T = Tokenized[Doc]
type U[V] = UniqueIndex[Doc, V]

Value members

Abstract methods

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

Concrete methods

def facetFields: List[FF]
def fieldByName[F](name: String): Field[Doc, F]
def fields: List[Field[Doc, _]]
def id(value: String): Id[Doc]
def init[Model <: DocumentModel[Doc]](collection: Collection[Doc, Model]): Unit

Concrete fields

val _id: UniqueIndex[Doc, Id[Doc]]
lazy val builder: FilterBuilder[Doc, DocumentModel[Doc]]

Implicits

Implicits

implicit def rw: RW[Doc]