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

Query2String

case class Query2String(q: Query) extends Helpers with Product with Serializable

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

Source
Query2String.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. Query2String
  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 Query2String(q: Query)

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. var asN: Boolean
  6. final def cast(value: Any): String
    Attributes
    protected
    Definition Classes
    Helpers
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. final def date(s: String): Date
    Attributes
    protected
    Definition Classes
    Helpers
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def f(a: Any): Any
    Attributes
    protected
    Definition Classes
    Helpers
  11. final def f2(a: Any): Any
    Attributes
    protected
    Definition Classes
    Helpers
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def format(date: Date): String
    Attributes
    protected
    Definition Classes
    Helpers
  14. final def format2(date: Date): String
    Attributes
    protected
    Definition Classes
    Helpers
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def mkIn(in: In, bracket: Boolean): String
  18. def multiLine(maxLength: Int = 30): String
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def o(opt: Option[Any]): String
    Attributes
    protected
    Definition Classes
    Helpers
  23. def p(expr: QueryExpr): String
  24. def pp(es: QueryExpr*): String
  25. val q: Query
  26. def s(str: String): String
  27. final lazy val sdf: SimpleDateFormat
    Attributes
    protected
    Definition Classes
    Helpers
  28. final def seq[T](values: Seq[T]): String
    Attributes
    protected
    Definition Classes
    Helpers
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. final def time(n: Int, prev: Int = 0): Unit
    Attributes
    protected
    Definition Classes
    Helpers
  31. def toList: String
  32. def toMap: String
  33. final def tupleToSeq(arg: Any): Seq[Any]
    Attributes
    protected
    Definition Classes
    Helpers
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  37. 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