object Model2Query extends Helpers
Model to Query transformation.
Second transformation in Molecules series of transformations from
custom boilerplate DSL constructs to Datomic queries:
Custom DSL molecule --> Model --> Query --> Datomic query string
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Model2Query
- Helpers
- DateHandling
- RegexMatching
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- implicit class Regex extends AnyRef
- Definition Classes
- RegexMatching
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- var _model: Model
- def abort(msg: String): Nothing
- def apply(model: Model): (Query, Option[Query], Query, Option[Query])
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cast(value: Any): String
- Attributes
- protected
- Definition Classes
- Helpers
- def clean(attr: String): String
- Definition Classes
- Helpers
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def coalesce(fn: String): Boolean
- def date2datomicStr(date: Date, zoneOffset: ZoneOffset = localZoneOffset): String
- Definition Classes
- DateHandling
- def date2str(date: Date, zoneOffset: ZoneOffset = localZoneOffset): String
- Definition Classes
- DateHandling
- val datomGeneric: Seq[String]
- def daylight(ms: Long): Int
- Definition Classes
- DateHandling
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def escStr(s: String): String
- Definition Classes
- Helpers
- def expandDateStr(dateStr: String): String
- Definition Classes
- DateHandling
- final def f(a: Any): Any
- Attributes
- protected
- Definition Classes
- Helpers
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val fns: String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val localOffset: String
- Definition Classes
- DateHandling
- lazy val localZoneOffset: ZoneOffset
- Definition Classes
- DateHandling
- def make(model: Model, query: Query, element: Element, e: String, v: String, prevNs: String, prevAttr: String, prevRefNs: String): (Query, String, String, String, String, String)
- def makeAtom(query: Query, atom: Atom, e: String, v: String, w: String, prevNs: String, prevAttr: String, prevRefNs: String): (Query, String, String, String, String, String)
- def makeAtomUnify(query: Query, a: Atom, nsFull: String, attr: String, e: String, v: String, w: String, prevNs: String): (Query, String, String, String, String, String)
- def makeBond(query: Query, bond: Bond, e: String, v: String, w: String, prevNs: String, prevAttr: String, prevRefNs: String): (Query, String, String, String, String, String)
- def makeComposite(model: Model, query: Query, composite: Composite, e: String, v: String, prevNs: String, prevAttr: String, prevRefNs: String): (Query, String, String, String, String, String)
- def makeGeneric(query: Query, g: Generic, e: String, v: String, w: String, y: String, prevNs: String, prevAttr: String, prevRefNs: String): (Query, String, String, String, String, String)
- def makeNested(model: Model, query: Query, nested: Nested, e: String, v: String, w: String, prevNs: String, prevAttr: String, prevRefNs: String): (Query, String, String, String, String, String)
- def makeReBond(model: Model, query: Query, rb: ReBond, v: String): (Query, String, String, String, String, String)
- def makeTxMetaData(model: Model, query0: Query, txMetaData: TxMetaData, w: String, prevNs: String, prevAttr: String, prevRefNs: String): (Query, String, String, String, String, String)
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- var nestedEntityClauses: List[Funct]
- var nestedEntityVars: List[Var]
- var nestedLevel: Int
- def nextChar(str: String, inc: Int): String
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def o(opt: Option[Any]): String
- Attributes
- protected
- Definition Classes
- Helpers
- final def os(opt: Option[Set[_]]): String
- Attributes
- protected
- Definition Classes
- Helpers
- def postProcess(model: Model, q: Query): Query
- def resolve(q: Query, e: String, v: String, element: Element): Query
- def resolveAtom(q: Query, e: String, a: Atom, v: String, v1: String, v2: String, v3: String): Query
- def resolveAtomKeyedMapMandatory(q: Query, e: String, a0: Atom, v: String, v1: String, v2: String, v3: String, key: String): Query
- def resolveAtomKeyedMapOptional(q: Query, e: String, a0: Atom): Query
- def resolveAtomKeyedMapTacit(q: Query, e: String, a0: Atom, v: String, v1: String, v2: String, key: String): Query
- def resolveAtomMandatory1(q: Query, e: String, a: Atom, v: String, v1: String): Query
- def resolveAtomMandatory2(q: Query, e: String, a: Atom, v: String, v1: String): Query
- def resolveAtomMapMandatory(q: Query, e: String, a: Atom, v: String, keys: Seq[String]): Query
- def resolveAtomMapOptional(q: Query, e: String, a0: Atom, v: String): Query
- def resolveAtomMapTacit(q: Query, e: String, a0: Atom, v: String, keys: Seq[String]): Query
- def resolveAtomOptional1(q: Query, e: String, a0: Atom, v: String, v1: String): Query
- def resolveAtomOptional2(q: Query, e: String, a0: Atom, v: String, v1: String): Query
- def resolveAtomTacit(q: Query, e: String, a0: Atom, v: String, v1: String): Query
- def resolveDatom(q: Query, e: String, g: Generic, v: String, v1: String): Query
- def resolveDatomMandatory(q: Query, g: Generic, tpe: String, v0: String, w: String = ""): Query
- def resolveDatomTacit(q: Query, e: String, g: Generic, tpe: String, v0: String, w: String = ""): Query
- def resolveEnumMandatory1(q: Query, e: String, a: Atom, v: String, v2: String, v3: String, prefix: String): Query
- def resolveEnumMandatory2(q: Query, e: String, a: Atom, v: String, v2: String, v3: String, prefix: String): Query
- def resolveEnumOptional1(q: Query, e: String, a0: Atom, v: String, v2: String, prefix: String): Query
- def resolveEnumOptional2(q: Query, e: String, a0: Atom, v: String, v2: String): Query
- def resolveEnumTacit(q: Query, e: String, a0: Atom, v: String, v2: String, v3: String, prefix: String): Query
- def resolveGeneric(q: Query, e: String, g: Generic, v: String, v1: String, v2: String, v3: String): Query
- def resolveSchema(q: Query, g: Generic): Query
- def resolveSchemaMandatory(g: Generic, q: Query, tpe: String): Query
- def resolveSchemaOptional(g: Generic, q: Query): Query
- def resolveSchemaOptionalUnique(g: Generic, q: Query): Query
- def resolveSchemaTacit(g: Generic, q: Query, tpe: String): Query
- final def seq[T](values: Seq[T]): String
- Attributes
- protected
- Definition Classes
- Helpers
- def str2date(s: String, zoneOffset: ZoneOffset = localZoneOffset): Date
- Definition Classes
- DateHandling
- def str2zdt(s: String, zoneOffset: ZoneOffset = localZoneOffset): ZonedDateTime
- Definition Classes
- DateHandling
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def time(n: Int, prev: Int = 0): Unit
- Attributes
- protected
- Definition Classes
- Helpers
- def toString(): String
- Definition Classes
- AnyRef → Any
- def truncateDateStr(dateStr: String): String
- Definition Classes
- DateHandling
- final def tupleToSeq(arg: Any): Seq[Any]
- Attributes
- protected
- Definition Classes
- Helpers
- def u(t: String, v: String): String
- def unescStr(s: String): String
- Definition Classes
- Helpers
- def uri(t: String): Boolean
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- lazy val zone: ZoneId
- Definition Classes
- DateHandling
- object mkDate
- Attributes
- protected
- Definition Classes
- Helpers
Documentation/API for the Molecule library - a meta DSL for the Datomic database.
Manual | scalamolecule.org | Github | Forum