trait ShowDebug[Tpl] extends AnyRef
Debug methods
Call a debug method on a molecule to see the internal transformations and produced transaction statements or sample data.
- Self Type
- Molecule[Tpl]
- Source
- ShowDebug.scala
- Grouped
- Alphabetic
- By Inheritance
- ShowDebug
- 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
_debugInsert(conn: Conn, dataRows: Iterable[Seq[Any]]): Unit
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
debugGet(implicit conn: Conn): Unit
Debug call to
get
on a molecule (without affecting the db).Debug call to
get
on a molecule (without affecting the db).
Prints the following to output:
1. Internal molecule transformation representations:
Molecule DSL --> Model --> Query --> Datomic query
2. Data returned from get query (max 500 rows). OBS: printing raw Date's (Clojure Instant) will miss the time-zone- conn
Implicit Conn value in scope
-
def
debugGetAsOf(date: Date)(implicit conn: Conn): Unit
Debug call to
getAsOf(date)
on a molecule (without affecting the db).Debug call to
getAsOf(date)
on a molecule (without affecting the db).
Prints the following to output:
1. Internal molecule transformation representations:
Molecule DSL --> Model --> Query --> Datomic query
2. Data returned from get query (max 500 rows).- conn
Implicit Conn value in scsope
-
def
debugGetAsOf(tx: TxReport)(implicit conn: Conn): Unit
Debug call to
getAsOf(tx)
on a molecule (without affecting the db). -
def
debugGetAsOf(t: Long)(implicit conn: Conn): Unit
Debug call to
getAsOf(t)
on a molecule (without affecting the db).Debug call to
getAsOf(t)
on a molecule (without affecting the db).
Prints the following to output:
1. Internal molecule transformation representations:
Molecule DSL --> Model --> Query --> Datomic query
2. Data returned from get query (max 500 rows).- conn
Implicit Conn value in scope
-
def
debugGetHistory(implicit conn: Conn): Unit
Debug call to
getHistory
on a molecule (without affecting the db).Debug call to
getHistory
on a molecule (without affecting the db).
Prints the following to output:
1. Internal molecule transformation representations:
Molecule DSL --> Model --> Query --> Datomic query
2. Data returned from get query (max 500 rows).- conn
Implicit Conn value in scope
-
def
debugGetSince(date: Date)(implicit conn: Conn): Unit
Debug call to
getSince(date)
on a molecule (without affecting the db).Debug call to
getSince(date)
on a molecule (without affecting the db).
Prints the following to output:
1. Internal molecule transformation representations:
Molecule DSL --> Model --> Query --> Datomic query
2. Data returned from get query (max 500 rows).- conn
Implicit Conn value in scope
-
def
debugGetSince(tx: TxReport)(implicit conn: Conn): Unit
Debug call to
getSince(tx)
on a molecule (without affecting the db). -
def
debugGetSince(t: Long)(implicit conn: Conn): Unit
Debug call to
getSince(t)
on a molecule (without affecting the db).Debug call to
getSince(t)
on a molecule (without affecting the db).
Prints the following to output:
1. Internal molecule transformation representations:
Molecule DSL --> Model --> Query --> Datomic query
2. Data returned from get query (max 500 rows).- conn
Implicit Conn value in scope
-
def
debugGetWith(txData: List[List[_]])(implicit conn: Conn): Unit
Debug call to
getWith(txData)
on a molecule (without affecting the db).Debug call to
getWith(txData)
on a molecule (without affecting the db).
Prints the following to output:
1. Internal molecule transformation representations:
Molecule DSL --> Model --> Query --> Datomic query
2. Data returned from get query (max 500 rows).
3. Transactions of applied transaction data.- txData
Raw transaction data as java.util.List[Object]
- conn
Implicit Conn value in scope
-
def
debugGetWith(txMolecules: Seq[Seq[Statement]]*)(implicit conn: Conn): Unit
Debug call to
getWith(txMolecules)
on a molecule (without affecting the db).Debug call to
getWith(txMolecules)
on a molecule (without affecting the db).
Prints the following to output:
1. Internal molecule transformation representations:
Molecule DSL --> Model --> Query --> Datomic query
2. Data returned from get query (max 500 rows).
3. Transactions of applied transaction molecules.- txMolecules
Transaction statements from applied Molecules with test data
- conn
Implicit Conn value in scope
-
def
debugSave(implicit conn: Conn): Unit
Debug call to
save
on a molecule (without affecting the db).Debug call to
save
on a molecule (without affecting the db).
Prints internal molecule transformation representations to output:
Model --> Generic statements --> Datomic statements- conn
Implicit Conn value in scope
- returns
Unit
-
def
debugUpdate(implicit conn: Conn): Unit
Debug call to
update
on a molecule (without affecting the db).Debug call to
update
on a molecule (without affecting the db).
Prints internal molecule transformation representations to output:
Model --> Generic statements --> Datomic statements- conn
Implicit Conn value in scope
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @throws( ... ) @native()
Documentation/API for the Molecule library - a meta DSL for the Datomic database.
Manual | scalamolecule.org | Github | Forum