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

    api Molecule API.
    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.
    input Input molecules awaiting input.
    macros Internal macros generating molecule code from custom DSL molecule constructs.
    generic Interfaces to generic information about datoms and Datomic database.
    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 boilerplate

    Internal interfaces for auto-generated DSL boilerplate code.

    Internal interfaces for auto-generated DSL boilerplate code.

    Interfaces to the generated schema-defined DSL boilerplate code that the sbt-plugin generates when doing a sbt-compile. Molecule macros can then type-safely deduct the type structure of composed molecules.

    Definition Classes
    molecule
  • attributes
  • base
  • dummyTypes
  • in1
  • in2
  • in3
  • out
  • outIndex
  • outSchema

object attributes

Boilerplate interfaces for custom DSL generated from schema definition file.

Encodes attribute cardinality, type and mode (mandatory, tacit, optional).

Source
attributes.scala
Linear Supertypes
AnyRef, Any
Content Hierarchy
BiTargetRefAttr_[biRefAttr]BiTargetRef_[biRefAttr]BiEdgePropRefAttr_BiEdgePropRef_BiEdgePropAttr_BiEdgeRefAttr_[revRefAttr]BiEdgeRef_[revRefAttr]BiEdge_BiOtherRefAttr_[revRefAttr]BiOtherRef_[revRefAttr]BiSelfRefAttr_BiSelfRef_Bidirectional_MapByte$[Ns]MapURI$[Ns]MapUUID$[Ns]MapDate$[Ns]MapBigDecimal$[Ns]MapBigInt$[Ns]MapBoolean$[Ns]MapDouble$[Ns]MapFloat$[Ns]MapLong$[Ns]MapInt$[Ns]MapString$[Ns]MapAttr$[Ns, TT, T]ManyByte$[Ns]ManyURI$[Ns]ManyUUID$[Ns]ManyDate$[Ns]ManyBigDecimal$[Ns]ManyBigInt$[Ns]ManyBoolean$[Ns]ManyDouble$[Ns]ManyFloat$[Ns]ManyLong$[Ns]ManyInt$[Ns]ManyString$[Ns]ManyValueAttr$[Ns, TT, T]OneAny$[Ns]OneByte$[Ns]OneURI$[Ns]OneUUID$[Ns]OneDate$[Ns]OneBigDecimal$[Ns]OneBigInt$[Ns]OneBoolean$[Ns]OneDouble$[Ns]OneFloat$[Ns]OneLong$[Ns]OneInt$[Ns]OneString$[Ns]OneValueAttr$[Ns, T]ValueAttr$[T]ManyRefAttr$[Ns]OneRefAttr$[Ns]RefAttr$[Ns]ManyEnums$[Ns]OneEnum$[Ns]Enum$[Ns, T]ManyEnums[Ns, In]OneEnum[Ns, In]EnumMapByte[Ns, In]MapURI[Ns, In]MapUUID[Ns, In]MapDate[Ns, In]MapBigDecimal[Ns, In]MapBigInt[Ns, In]MapBoolean[Ns, In]MapDouble[Ns, In]MapFloat[Ns, In]MapLong[Ns, In]MapInt[Ns, In]MapString[Ns, In]MapAttr[Ns, In, TT, T]ManyByte[Ns, In]ManyURI[Ns, In]ManyUUID[Ns, In]ManyDate[Ns, In]ManyBigDecimal[Ns, In]ManyBigInt[Ns, In]ManyBoolean[Ns, In]ManyDouble[Ns, In]ManyFloat[Ns, In]ManyLong[Ns, In]ManyInt[Ns, In]ManyString[Ns, In]Many[Ns, In, TT, T]OneAny[Ns, In]OneByte[Ns, In]OneURI[Ns, In]OneUUID[Ns, In]OneDate[Ns, In]OneBigDecimal[Ns, In]OneBigInt[Ns, In]OneBoolean[Ns, In]OneDouble[Ns, In]OneFloat[Ns, In]OneLong[Ns, In]OneInt[Ns, In]OneString[Ns, In]One[Ns, In, T]ValueAttr[Ns, In, TT, T]ManyRefAttr[Ns, In]OneRefAttr[Ns, In]RefAttr[Ns]AttrManyRef[This, Next]OneRef[This, Next]Ref[This, Next]
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. attributes
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Attr extends AnyRef
  2. trait BiEdgePropAttr_ extends Bidirectional_
  3. trait BiEdgePropRefAttr_ extends Bidirectional_
  4. trait BiEdgePropRef_ extends Bidirectional_
  5. trait BiEdgeRefAttr_[revRefAttr] extends Bidirectional_
  6. trait BiEdgeRef_[revRefAttr] extends Bidirectional_
  7. trait BiEdge_ extends Bidirectional_
  8. trait BiOtherRefAttr_[revRefAttr] extends Bidirectional_
  9. trait BiOtherRef_[revRefAttr] extends Bidirectional_
  10. trait BiSelfRefAttr_ extends Bidirectional_
  11. trait BiSelfRef_ extends Bidirectional_
  12. trait BiTargetRefAttr_[biRefAttr] extends Bidirectional_
  13. trait BiTargetRef_[biRefAttr] extends Bidirectional_
  14. trait Bidirectional_ extends AnyRef
  15. case class Doc(msg: String) extends Product with Serializable
  16. trait Enum extends AnyRef
  17. trait Enum$[Ns, T] extends Attr with Enum with api.core.OptionalExpr[Ns, T]
  18. trait Fulltext[Ns, In] extends api.core.FulltextExpr[Ns, In]
  19. trait Indexed extends AnyRef
  20. trait IsComponent extends AnyRef
  21. trait Many[Ns, In, TT, T] extends ValueAttr[Ns, In, TT, T] with api.core.ManyExpr[Ns, In, T]
  22. trait ManyBigDecimal[Ns, In] extends Many[Ns, In, Set[BigDecimal], BigDecimal]
  23. trait ManyBigDecimal$[Ns] extends ManyValueAttr$[Ns, Set[BigDecimal], BigDecimal]
  24. trait ManyBigInt[Ns, In] extends Many[Ns, In, Set[BigInt], BigInt]
  25. trait ManyBigInt$[Ns] extends ManyValueAttr$[Ns, Set[BigInt], BigInt]
  26. trait ManyBoolean[Ns, In] extends Many[Ns, In, Set[Boolean], Boolean]
  27. trait ManyBoolean$[Ns] extends ManyValueAttr$[Ns, Set[Boolean], Boolean]
  28. trait ManyByte[Ns, In] extends Many[Ns, In, Set[Byte], Byte]
  29. trait ManyByte$[Ns] extends ManyValueAttr$[Ns, Set[Byte], Byte]
  30. trait ManyDate[Ns, In] extends Many[Ns, In, Set[Date], Date]
  31. trait ManyDate$[Ns] extends ManyValueAttr$[Ns, Set[Date], Date]
  32. trait ManyDouble[Ns, In] extends Many[Ns, In, Set[Double], Double]
  33. trait ManyDouble$[Ns] extends ManyValueAttr$[Ns, Set[Double], Double]
  34. trait ManyEnums[Ns, In] extends Many[Ns, In, Set[String], String] with Enum
  35. trait ManyEnums$[Ns] extends Enum$[Ns, Set[String]]
  36. trait ManyFloat[Ns, In] extends Many[Ns, In, Set[Float], Float]
  37. trait ManyFloat$[Ns] extends ManyValueAttr$[Ns, Set[Float], Float]
  38. trait ManyInt[Ns, In] extends Many[Ns, In, Set[Int], Int]
  39. trait ManyInt$[Ns] extends ManyValueAttr$[Ns, Set[Int], Int]
  40. trait ManyLong[Ns, In] extends Many[Ns, In, Set[Long], Long]
  41. trait ManyLong$[Ns] extends ManyValueAttr$[Ns, Set[Long], Long]
  42. trait ManyRef[This, Next] extends Ref[This, Next]
  43. trait ManyRefAttr[Ns, In] extends RefAttr[Ns] with api.core.ManyExpr[Ns, In, Long]
  44. trait ManyRefAttr$[Ns] extends RefAttr$[Ns] with api.core.OptionalExpr[Ns, Set[Long]]
  45. trait ManyString[Ns, In] extends Many[Ns, In, Set[String], String]
  46. trait ManyString$[Ns] extends ManyValueAttr$[Ns, Set[String], String]
  47. trait ManyURI[Ns, In] extends Many[Ns, In, Set[URI], URI]
  48. trait ManyURI$[Ns] extends ManyValueAttr$[Ns, Set[URI], URI]
  49. trait ManyUUID[Ns, In] extends Many[Ns, In, Set[UUID], UUID]
  50. trait ManyUUID$[Ns] extends ManyValueAttr$[Ns, Set[UUID], UUID]
  51. trait ManyValueAttr$[Ns, TT, T] extends ValueAttr$[T] with api.core.OptionalExpr[Ns, TT]
  52. trait MapAttr[Ns, In, TT, T] extends ValueAttr[Ns, In, TT, T] with api.core.MapAttrExpr[Ns, In, T]
  53. trait MapAttr$[Ns, TT, T] extends Attr with api.core.OptionalExpr[Ns, TT]
  54. trait MapAttrK extends AnyRef
  55. trait MapBigDecimal[Ns, In] extends MapAttr[Ns, In, Map[String, BigDecimal], BigDecimal]
  56. trait MapBigDecimal$[Ns] extends MapAttr$[Ns, Map[String, BigDecimal], BigDecimal]
  57. trait MapBigInt[Ns, In] extends MapAttr[Ns, In, Map[String, BigInt], BigInt]
  58. trait MapBigInt$[Ns] extends MapAttr$[Ns, Map[String, BigInt], BigInt]
  59. trait MapBoolean[Ns, In] extends MapAttr[Ns, In, Map[String, Boolean], Boolean]
  60. trait MapBoolean$[Ns] extends MapAttr$[Ns, Map[String, Boolean], Boolean]
  61. trait MapByte[Ns, In] extends MapAttr[Ns, In, Map[String, Byte], Byte]
  62. trait MapByte$[Ns] extends MapAttr$[Ns, Map[String, Byte], Byte]
  63. trait MapDate[Ns, In] extends MapAttr[Ns, In, Map[String, Date], Date]
  64. trait MapDate$[Ns] extends MapAttr$[Ns, Map[String, Date], Date]
  65. trait MapDouble[Ns, In] extends MapAttr[Ns, In, Map[String, Double], Double]
  66. trait MapDouble$[Ns] extends MapAttr$[Ns, Map[String, Double], Double]
  67. trait MapFloat[Ns, In] extends MapAttr[Ns, In, Map[String, Float], Float]
  68. trait MapFloat$[Ns] extends MapAttr$[Ns, Map[String, Float], Float]
  69. trait MapInt[Ns, In] extends MapAttr[Ns, In, Map[String, Int], Int]
  70. trait MapInt$[Ns] extends MapAttr$[Ns, Map[String, Int], Int]
  71. trait MapLong[Ns, In] extends MapAttr[Ns, In, Map[String, Long], Long]
  72. trait MapLong$[Ns] extends MapAttr$[Ns, Map[String, Long], Long]
  73. trait MapString[Ns, In] extends MapAttr[Ns, In, Map[String, String], String]
  74. trait MapString$[Ns] extends MapAttr$[Ns, Map[String, String], String]
  75. trait MapURI[Ns, In] extends MapAttr[Ns, In, Map[String, URI], URI]
  76. trait MapURI$[Ns] extends MapAttr$[Ns, Map[String, URI], URI]
  77. trait MapUUID[Ns, In] extends MapAttr[Ns, In, Map[String, UUID], UUID]
  78. trait MapUUID$[Ns] extends MapAttr$[Ns, Map[String, UUID], UUID]
  79. trait NoHistory extends AnyRef
  80. trait One[Ns, In, T] extends ValueAttr[Ns, In, Nothing, T] with api.core.OneExpr[Ns, In, T]
  81. trait OneAny[Ns, In] extends One[Ns, In, Any]
  82. trait OneAny$[Ns] extends OneValueAttr$[Ns, Any]
  83. trait OneBigDecimal[Ns, In] extends One[Ns, In, BigDecimal]
  84. trait OneBigDecimal$[Ns] extends OneValueAttr$[Ns, BigDecimal]
  85. trait OneBigInt[Ns, In] extends One[Ns, In, BigInt]
  86. trait OneBigInt$[Ns] extends OneValueAttr$[Ns, BigInt]
  87. trait OneBoolean[Ns, In] extends One[Ns, In, Boolean]
  88. trait OneBoolean$[Ns] extends OneValueAttr$[Ns, Boolean]
  89. trait OneByte[Ns, In] extends One[Ns, In, Byte]
  90. trait OneByte$[Ns] extends OneValueAttr$[Ns, Byte]
  91. trait OneDate[Ns, In] extends One[Ns, In, Date]
  92. trait OneDate$[Ns] extends OneValueAttr$[Ns, Date]
  93. trait OneDouble[Ns, In] extends One[Ns, In, Double]
  94. trait OneDouble$[Ns] extends OneValueAttr$[Ns, Double]
  95. trait OneEnum[Ns, In] extends One[Ns, In, String] with Enum
  96. trait OneEnum$[Ns] extends Enum$[Ns, String]
  97. trait OneFloat[Ns, In] extends One[Ns, In, Float]
  98. trait OneFloat$[Ns] extends OneValueAttr$[Ns, Float]
  99. trait OneInt[Ns, In] extends One[Ns, In, Int]
  100. trait OneInt$[Ns] extends OneValueAttr$[Ns, Int]
  101. trait OneLong[Ns, In] extends One[Ns, In, Long]
  102. trait OneLong$[Ns] extends OneValueAttr$[Ns, Long]
  103. trait OneRef[This, Next] extends Ref[This, Next]
  104. trait OneRefAttr[Ns, In] extends RefAttr[Ns] with api.core.OneExpr[Ns, In, Long]
  105. trait OneRefAttr$[Ns] extends RefAttr$[Ns] with api.core.OptionalExpr[Ns, Long]
  106. trait OneString[Ns, In] extends One[Ns, In, String]
  107. trait OneString$[Ns] extends OneValueAttr$[Ns, String]
  108. trait OneURI[Ns, In] extends One[Ns, In, URI]
  109. trait OneURI$[Ns] extends OneValueAttr$[Ns, URI]
  110. trait OneUUID[Ns, In] extends One[Ns, In, UUID]
  111. trait OneUUID$[Ns] extends OneValueAttr$[Ns, UUID]
  112. trait OneValueAttr$[Ns, T] extends ValueAttr$[T] with api.core.OptionalExpr[Ns, T]
  113. trait Ref[This, Next] extends AnyRef
  114. trait RefAttr[Ns] extends Attr
  115. trait RefAttr$[Ns] extends Attr
  116. trait SelfJoin extends AnyRef
  117. trait UniqueIdentity extends AnyRef
  118. trait UniqueValue extends AnyRef
  119. sealed trait ValueAttr[Ns, In, TT, T] extends Attr
  120. trait ValueAttr$[T] extends Attr

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  20. object EnumValue

Inherited from AnyRef

Inherited from Any

Ungrouped