object Log extends Log_0 with FirstNS
- Alphabetic
- By Inheritance
- Log
- FirstNS
- Log_0
- OutIndex_0
- NS00
- NS
- Log
- GenericNs
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type Next_[Attr[_, _], Type] = Attr[Log_1[Type], P2[_, _]] with Log_1[Type]
- Definition Classes
- Log_0
- final class a[Ns, In] extends OneString[Ns, In] with Indexed
(Partition)-Namespace-prefixed attribute name (":part_Ns/attr")
(Partition)-Namespace-prefixed attribute name (":part_Ns/attr")
- Definition Classes
- Log
- final class e[Ns, In] extends OneLong[Ns, In] with Indexed
Entity id (Long)
Entity id (Long)
- Definition Classes
- Log
- final class op[Ns, In] extends OneBoolean[Ns, In] with Indexed
Transaction operation: assertion (true) or retraction (false)
Transaction operation: assertion (true) or retraction (false)
- Definition Classes
- Log
- final class t[Ns, In] extends OneLong[Ns, In] with Indexed
Transaction point in time
t
(Long/Int)Transaction point in time
t
(Long/Int)- Definition Classes
- Log
- final class tx[Ns, In] extends OneLong[Ns, In] with Indexed
Transaction entity id (Long)
Transaction entity id (Long)
- Definition Classes
- Log
- final class txInstant[Ns, In] extends OneDate[Ns, In] with Indexed
Transaction wall-clock time (Date)
Transaction wall-clock time (Date)
- Definition Classes
- Log
- final class v[Ns, In] extends OneAny[Ns, In] with Indexed
Datom value (Any)
Datom value (Any)
- Definition Classes
- Log
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
- final lazy val a: Next_[a, String]
- Definition Classes
- Log_0
- final def apply(): Log_0
- final def apply(from: Option[Any]): Log_0
- final def apply(from: Option[Any], until: Option[Any]): Log_0
Range of transactions (using Datomic's Log.txRange API)
Range of transactions (using Datomic's Log.txRange API)
Returns transactions between transaction points in time
from
(inclusive) anduntil
(exclusive).Option args can be
- Transaction point in time (
t
) of type Long/Int - Transaction entity id (tx
) of type Long - Transaction wall clock time (txInstant
) of type java.util.DateIf
from
is None, transactions from beginning are fetched.
Ifuntil
is None, transaction until end are fetched.Molecule doesn't allow both arguments to be None since it would return the whole database. (Use Datomic raw access if that is needed)
- from
First tx (inclusive). Beginning if None
- until
Last tx (exclusive). End if None
- returns
Log builder object to add generic datom attributes
- def apply(eids: expression.AttrExpressions.?): AnyRef
Add entity id(s) input placeholder to the molecule.
Add entity id(s) input placeholder to the molecule.
At runtime, entity id(s) are applied as vararg(s) or list/sets.- eids
Iterable of entity ids, typically List, Seq or Set of ids.
- returns
molecule to be further expanded with more attributes.
- Definition Classes
- FirstNS
- def apply(eids: Iterable[Long]): AnyRef
Filter molecule by applying one or more entity ids of type
Long
.Filter molecule by applying one or more entity ids of type
Long
.- eids
Iterable of entity ids, typically List, Seq or Set of ids.
- returns
molecule to be further expanded with more attributes.
- Definition Classes
- FirstNS
- def apply(eid: Long, eids: Long*): AnyRef
Filter molecule by applying one or more entity ids of type
Long
.Filter molecule by applying one or more entity ids of type
Long
.- eid
First entity id
- eids
Further entity ids (varargs)
- returns
molecule to be further expanded with more attributes.
- Definition Classes
- FirstNS
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final lazy val e: Next_[e, Long]
- Definition Classes
- Log_0
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- 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()
- final lazy val op: Next_[op, Boolean]
- Definition Classes
- Log_0
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final lazy val t: Next_[t, Long]
- Definition Classes
- Log_0
- def toString(): String
- Definition Classes
- AnyRef → Any
- final lazy val tx: Next_[tx, Long]
- Definition Classes
- Log_0
- final lazy val txInstant: Next_[txInstant, Date]
- Definition Classes
- Log_0
- final lazy val v: Next_[v, Any]
- Definition Classes
- Log_0
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Documentation/API for the Molecule library - a meta DSL for the Datomic database.
scalamolecule.org | Github | Forum