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
- Alphabetic
- By Inheritance
- Datom
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
a: Any
Attribute name.
-
def
a_: Any
Tacit attribute name.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
e: Any
Entity id.
-
def
e_: Any
Tacit entity id.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
ns: Any
Namespace name.
-
def
ns_: Any
Tacit namespace name.
-
def
op: Any
Transaction operation (add: True or retract: False).
-
def
op_: Any
Tacit transaction operation (add: True or retract: False).
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
t: Any
Transaction time t.
-
def
t_: Any
Tacit transaction time t.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tx: Any
Transaction entity id.
-
def
txInstant: Any
Transaction time as java.util.Date.
-
def
txInstant_: Any
Tacit transaction time as java.util.Date.
-
def
tx_: Any
Tacit transaction entity id.
-
def
v: Any
Attribute value.
-
def
v_: Any
Tacit attribute value.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )

Documentation/API for the Molecule library - a meta DSL for the Datomic database.
Manual | scalamolecule.org | Github | Forum