Packages

  • package root

    Documentation/API for the Molecule library - a meta DSL for the Datomic database.

    Manual | scalamolecule.org | Github | Forum

    Definition Classes
    root
  • package molecule

    Molecule library - a Scala meta-DSL for the Datomic database.

    Molecule library - a Scala meta-DSL for the Datomic database.

    See api package for various api imports to start using Molecule.

    Sub-packages

    action Actions on molecules and entities.
    api Molecule import interfaces of various arities.
    ast Internal Molecule ASTs.
    boilerplate Internal interfaces for auto-generated DSL boilerplate code.
    composition    Builder methods to compose molecules.
    exceptions Exceptions thrown by Molecule.
    expression Attribute expressions and operations.
    facade Molecule facades to Datomic.
    factory Implicit macro methods `m` to instantiate molecules from custom DSL molecule constructs.
    generic Interfaces to generic information about datoms and Datomic database.
    input Input molecules awaiting input.
    macro Internal macros generating molecule code from custom DSL molecule constructs.
    ops Internal operational helpers for transforming DSL to molecule.
    schema Schema definition DSL.
    transform Internal transformers from DSL to Model/Query/Transaction.
    util Internal Java database functions for Datomic.

    Definition Classes
    root
  • package transform

    Internal transformers from DSL to Model/Query/Transaction/Datomic.

    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

    Definition Classes
    molecule
    See also

    http://www.scalamolecule.org/dev/transformation/

  • package exception
    Definition Classes
    transform
  • CastHelpers
  • Model2Query
  • Model2Transaction
  • Query2String
c

molecule.transform

Model2Transaction

case class Model2Transaction(conn: Conn, model: Model) extends Helpers with Product with Serializable

Model to transaction transformation.

Source
Model2Transaction.scala
See also

http://www.scalamolecule.org/dev/transformation/

Linear Supertypes
Serializable, Serializable, Product, Equals, Helpers, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Model2Transaction
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Helpers
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Model2Transaction(conn: Conn, model: Model)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def cast(value: Any): String
    Attributes
    protected
    Definition Classes
    Helpers
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. val conn: Conn
  8. final def date(s: String): Date
    Attributes
    protected
    Definition Classes
    Helpers
  9. def eidV(stmts: Seq[Statement]): Boolean
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def f(a: Any): Any
    Attributes
    protected
    Definition Classes
    Helpers
  12. final def f2(a: Any): Any
    Attributes
    protected
    Definition Classes
    Helpers
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def flatten(vs: Seq[Any]): Seq[Any]
  15. final def format(date: Date): String
    Attributes
    protected
    Definition Classes
    Helpers
  16. final def format2(date: Date): String
    Attributes
    protected
    Definition Classes
    Helpers
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getPairs(e: Any, a: String, key: String = ""): Map[String, String]
  19. def insertStmts(dataRows: Seq[Seq[Any]]): Seq[Seq[Statement]]
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def lastE(stmts: Seq[Statement], attr: String, nestedE: Any, bi: Generic): Any
  22. def lastV(stmts: Seq[Statement], attr: String, nestedE: Any = 0): Any
  23. def matchDataStmt(stmts: Seq[Statement], genericStmt: Statement, arg: Any, cur: Int, next: Int, nestedE: Any, edgeB: Option[AnyRef]): (Int, Option[AnyRef], Seq[Statement])
  24. val model: Model
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def o(opt: Option[Any]): String
    Attributes
    protected
    Definition Classes
    Helpers
  29. def pairStrs(e: Any, a: String, key: String): Iterable[AnyRef]
  30. def resolveStmts(genericStmts: Seq[Statement], row: Seq[Any], nestedE0: Any = 0, edgeB0: Option[AnyRef] = None): Seq[Statement]
  31. def saveStmts(): Seq[Statement]
  32. final lazy val sdf: SimpleDateFormat
    Attributes
    protected
    Definition Classes
    Helpers
  33. final def seq[T](values: Seq[T]): String
    Attributes
    protected
    Definition Classes
    Helpers
  34. def splitStmts(): (Seq[Statement], Seq[Statement])
  35. val stmtsModel: Seq[Statement]
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. final def time(n: Int, prev: Int = 0): Unit
    Attributes
    protected
    Definition Classes
    Helpers
  38. final def tupleToSeq(arg: Any): Seq[Any]
    Attributes
    protected
    Definition Classes
    Helpers
  39. def txRefAttr(stmts: Seq[Statement]): Boolean
  40. def updateStmts(): Seq[Statement]
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  44. val x: Debug
  45. object mkDate
    Attributes
    protected
    Definition Classes
    Helpers

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Helpers

Inherited from AnyRef

Inherited from Any

Ungrouped