package transform
Internal transformers from DSL to Model/Query/Transaction/Datomic.
Molecule transforms custom boilerplate DSL constructs to Datomic queries in 3 steps:
Custom DSL molecule --> Model --> Query --> Datomic query string
- Alphabetic
- By Inheritance
- transform
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait CastHelpers[Tpl] extends CastHelpersAggr[Tpl]
Core molecule interface defining actions that can be called on molecules.
Core molecule interface defining actions that can be called on molecules.
Generally we could often have made higher-order methods taking a casting function for variating cases. But we prioritize minimizing the macro-generated code as much as possible to lower compile time overhead.
- trait CastHelpersAggr[Tpl] extends CastHelpersOptNested[Tpl]
Core molecule interface defining actions that can be called on molecules.
Core molecule interface defining actions that can be called on molecules.
Generally we could often have made higher-order methods taking a casting function for variating cases. But we prioritize minimizing the macro-generated code as much as possible to lower compile time overhead.
- trait CastHelpersOptNested[Tpl] extends Helpers
Core molecule interface defining actions that can be called on molecules.
Core molecule interface defining actions that can be called on molecules.
Generally we could often have made higher-order methods taking a casting function for variating cases. But we prioritize minimizing the macro-generated code as much as possible to lower compile time overhead.
- case class Model2Transaction(conn: Conn, model: Model) extends Helpers with Product with Serializable
Model to transaction transformation.
Model to transaction transformation.
- case class Query2String(q: Query) extends Helpers with Product with Serializable
Query to Datomic query string transformation.
Query to Datomic query string transformation.
Third transformation in Molecules series of transformations from custom boilerplate DSL constructs to Datomic queries:
Custom DSL molecule --> Model --> Query --> Datomic query string
Value Members
- object Model2Query extends Helpers
Model to Query transformation.
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 - object QueryOptimizer
Documentation/API for the Molecule library - a meta DSL for the Datomic database.
Manual | scalamolecule.org | Github | Forum