Packages

trait Datom extends AnyRef

Meta attributes of Datoms.

// Get entity id with `e`
Person.e.name.get.head === (17592186045894L, "Ben")

// Attributes of all Person entities having `age` asserted
Person.a.age_.get.sorted === List(
  ":person/name",
  ":person/age",
  ":tag/score",
  ":tag/flags",
  ":cat/name"
)

// Namespace names of all Person entities having `age` asserted
Person.ns.age_.get.sorted === List(
  "person",
  "tag",
  "cat"
)

// Transaction time t, operation and value
Person.t.op.v.getHistory === List(
  (1031, true, "Benny"),
  (1033, false, "Benny"),
  (1033, true, "Ben")
)

// Transaction time as date
val date = java.util.Date("2018-08-04")
Person.t.op.v.txInstant_(date).getHistory === List(
  (1033, true, "Ben")
)

// Transaction entity id
val txEntity = 17592186045908L
Person.t.op.v.tx_(txEntity).getHistory === List(
  (1033, true, "Ben")
)
Source
Datom.scala
See also

Manual | Tests

Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Datom
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def a: Any

    Attribute name.

  5. def a_: Any

    Tacit attribute name.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def e: Any

    Entity id.

  9. def e_: Any

    Tacit entity id.

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def ns: Any

    Namespace name.

  20. def ns_: Any

    Tacit namespace name.

  21. def op: Any

    Transaction operation (add: True or retract: False).

  22. def op_: Any

    Tacit transaction operation (add: True or retract: False).

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def t: Any

    Transaction time t.

  25. def t_: Any

    Tacit transaction time t.

  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def tx: Any

    Transaction entity id.

  28. def txInstant: Any

    Transaction time as java.util.Date.

  29. def txInstant_: Any

    Tacit transaction time as java.util.Date.

  30. def tx_: Any

    Tacit transaction entity id.

  31. def v: Any

    Attribute value.

  32. def v_: Any

    Tacit attribute value.

  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped