case class Conn_Peer(peerConn: Connection, defaultConnProxy: ConnProxy, system: String = "") extends Conn_Jvm with Product with Serializable
- Alphabetic
- By Inheritance
- Conn_Peer
- Serializable
- Serializable
- Product
- Equals
- Conn_Jvm
- JavaConversions
- Conn
- BooPicklers
- Helpers
- ColOps
- DateHandling
- RegexMatching
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Type Members
-
class
log extends AnyRef
- Definition Classes
- Helpers
-
class
AsJava[A] extends AnyRef
Generic class containing the
asJavaconverter methodGeneric class containing the
asJavaconverter method- Definition Classes
- JavaConversions
-
class
AsJavaCollection[A] extends AnyRef
Generic class containing the
asJavaCollectionconverter methodGeneric class containing the
asJavaCollectionconverter method- Definition Classes
- JavaConversions
-
class
AsJavaDictionary[K, V] extends AnyRef
Generic class containing the
asJavaDictionaryconverter methodGeneric class containing the
asJavaDictionaryconverter method- Definition Classes
- JavaConversions
-
class
AsJavaEnumeration[A] extends AnyRef
Generic class containing the
asJavaEnumerationconverter methodGeneric class containing the
asJavaEnumerationconverter method- Definition Classes
- JavaConversions
-
class
AsScala[A] extends AnyRef
Generic class containing the
asScalaconverter methodGeneric class containing the
asScalaconverter method- Definition Classes
- JavaConversions
-
implicit
class
Regex extends AnyRef
- Definition Classes
- RegexMatching
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
-
implicit
val
anyPickler: Pickler[Any]
- Definition Classes
- BooPicklers
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
implicit
def
asJavaCollectionConverter[A](i: Iterable[A]): AsJavaCollection[A]
Adds an
asJavaCollectionmethod that implicitly converts a ScalaIterableto an immutable JavaCollection.Adds an
asJavaCollectionmethod that implicitly converts a ScalaIterableto an immutable JavaCollection.- Definition Classes
- JavaConversions
-
implicit
def
asJavaDictionaryConverter[K, V](m: Map[K, V]): AsJavaDictionary[K, V]
Adds an
asJavaDictionarymethod that implicitly converts a Scala mutableMapto a JavaDictionary.Adds an
asJavaDictionarymethod that implicitly converts a Scala mutableMapto a JavaDictionary.- Definition Classes
- JavaConversions
-
implicit
def
asJavaEnumerationConverter[A](i: Iterator[A]): AsJavaEnumeration[A]
Adds an
asJavaEnumerationmethod that implicitly converts a ScalaIteratorto a JavaEnumeration.Adds an
asJavaEnumerationmethod that implicitly converts a ScalaIteratorto a JavaEnumeration.- Definition Classes
- JavaConversions
-
def
asJavaIterable[A](i: Iterable[A]): Iterable[A]
- Definition Classes
- JavaConversions
-
implicit
def
asJavaIterableConverter[A](i: Iterable[A]): AsJava[Iterable[A]]
Adds an
asJavamethod that implicitly converts a ScalaIterableto a JavaIterable.Adds an
asJavamethod that implicitly converts a ScalaIterableto a JavaIterable.- Definition Classes
- JavaConversions
-
def
asJavaIterator[A](i: Iterator[A]): Iterator[A]
- Definition Classes
- JavaConversions
-
implicit
def
asJavaIteratorConverter[A](i: Iterator[A]): AsJava[Iterator[A]]
Adds an
asJavamethod that implicitly converts a ScalaIteratorto a JavaIterator.Adds an
asJavamethod that implicitly converts a ScalaIteratorto a JavaIterator.- Definition Classes
- JavaConversions
-
def
asScalaBuffer[A](l: List[A]): Buffer[A]
- Definition Classes
- JavaConversions
-
implicit
def
asScalaBufferConverter[A](l: List[A]): AsScala[Buffer[A]]
Adds an
asScalamethod that implicitly converts a JavaListto a Scala mutableBuffer.Adds an
asScalamethod that implicitly converts a JavaListto a Scala mutableBuffer.- Definition Classes
- JavaConversions
-
def
asScalaIterator[A](i: Iterator[A]): Iterator[A]
- Definition Classes
- JavaConversions
-
implicit
def
asScalaIteratorConverter[A](i: Iterator[A]): AsScala[Iterator[A]]
Adds an
asScalamethod that implicitly converts a JavaIteratorto a ScalaIterator.Adds an
asScalamethod that implicitly converts a JavaIteratorto a ScalaIterator.- Definition Classes
- JavaConversions
-
def
asScalaSet[A](s: Set[A]): Set[A]
- Definition Classes
- JavaConversions
-
implicit
def
asScalaSetConverter[A](s: Set[A]): AsScala[Set[A]]
Adds an
asScalamethod that implicitly converts a JavaSetto a Scala mutableSet.Adds an
asScalamethod that implicitly converts a JavaSetto a Scala mutableSet.- Definition Classes
- JavaConversions
-
def
bigDec(arg: Any): BigDecimal
- Attributes
- protected
- Definition Classes
- Helpers
-
implicit
def
boopickleSerializerDeserializer[T](implicit arg0: boopickle.Default.Pickler[T]): SerializerDeserializer[T, ByteBuffer]
- Definition Classes
- BooPicklers
-
def
bufferAsJavaList[A](b: Buffer[A]): List[A]
- Definition Classes
- JavaConversions
-
implicit
def
bufferAsJavaListConverter[A](b: Buffer[A]): AsJava[List[A]]
Adds an
asJavamethod that implicitly converts a Scala mutableBufferto a JavaList.Adds an
asJavamethod that implicitly converts a Scala mutableBufferto a JavaList.- Definition Classes
- JavaConversions
-
def
clean(attr: String): String
- Definition Classes
- Helpers
- final def cleanFrom(nextTimePoint: Any)(implicit ec: ExecutionContext): Future[Unit]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
collectionAsScalaIterable[A](i: Collection[A]): Iterable[A]
- Definition Classes
- JavaConversions
-
implicit
def
collectionAsScalaIterableConverter[A](i: Collection[A]): AsScala[Iterable[A]]
Adds an
asScalamethod that implicitly converts a JavaCollectionto an ScalaIterable.Adds an
asScalamethod that implicitly converts a JavaCollectionto an ScalaIterable.- Definition Classes
- JavaConversions
-
implicit
val
connProxyPickler: CompositePickler[ConnProxy]
- Definition Classes
- BooPicklers
-
def
convert(tpe: String, arg: Any): (Any) ⇒ String
- Definition Classes
- ColOps
-
def
date2datomicStr(date: Date, zoneOffset: ZoneOffset = localZoneOffset): String
- Definition Classes
- DateHandling
-
def
date2datomicStr2(date: Date, zoneOffset: ZoneOffset = localZoneOffset): String
- Definition Classes
- DateHandling
-
def
date2str(date: Date, zoneOffset: ZoneOffset = localZoneOffset): String
- Definition Classes
- DateHandling
-
implicit
val
datePickler: Pickler[Date]
- Definition Classes
- BooPicklers
-
def
daylight(ms: Long): Int
- Definition Classes
- DateHandling
-
final
def
db(implicit ec: ExecutionContext): Future[DatomicDb]
Get current adhoc/test/live db.
-
def
debug(prefix: String, suffix: String = ""): Unit
- Attributes
- protected
- Definition Classes
- Conn
- val defaultConnProxy: ConnProxy
-
def
dictionaryAsScalaMap[A, B](p: Dictionary[A, B]): Map[A, B]
- Definition Classes
- JavaConversions
-
implicit
def
dictionaryAsScalaMapConverter[K, V](p: Dictionary[K, V]): AsScala[Map[K, V]]
Adds an
asScalamethod that implicitly converts a JavaDictionaryto a Scala mutableMap.Adds an
asScalamethod that implicitly converts a JavaDictionaryto a Scala mutableMap.- Definition Classes
- JavaConversions
-
def
double(arg: Any): String
- Attributes
- protected
- Definition Classes
- Helpers
-
def
enumerationAsScalaIterator[A](i: Enumeration[A]): Iterator[A]
- Definition Classes
- JavaConversions
-
implicit
def
enumerationAsScalaIteratorConverter[A](i: Enumeration[A]): AsScala[Iterator[A]]
Adds an
asScalamethod that implicitly converts a JavaEnumerationto a ScalaIterator.Adds an
asScalamethod that implicitly converts a JavaEnumerationto a ScalaIterator.- Definition Classes
- JavaConversions
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
escStr(s: String): String
- Definition Classes
- Helpers
-
implicit
val
exPickler: CompositePickler[Throwable]
- Definition Classes
- BooPicklers
-
def
expandDateStr(dateStr: String): String
- Definition Classes
- DateHandling
-
final
def
f(a: Any): Any
- Attributes
- protected
- Definition Classes
- Helpers
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
firstNs(model: Model): String
- Definition Classes
- Helpers
-
final
def
gcStorage(olderThan: Date): Unit
Reclaim storage garbage older than a certain age.
Reclaim storage garbage older than a certain age.
As part of capacity planning for a Datomic system, you should schedule regular (e.g daily, weekly) calls to gcStorage.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getKwName(kw: String): String
- Definition Classes
- Helpers
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
iterableAsScalaIterable[A](i: Iterable[A]): Iterable[A]
- Definition Classes
- JavaConversions
-
implicit
def
iterableAsScalaIterableConverter[A](i: Iterable[A]): AsScala[Iterable[A]]
Adds an
asScalamethod that implicitly converts a JavaIterableto a ScalaIterable.Adds an
asScalamethod that implicitly converts a JavaIterableto a ScalaIterable.- Definition Classes
- JavaConversions
-
def
jsNumber(tpe: String, v: Any): Any
- Definition Classes
- Helpers
-
def
jsOnly(method: String): MoleculeException
- Attributes
- protected
- Definition Classes
- Conn
-
def
jvmOnly(method: String): MoleculeException
- Attributes
- protected
- Definition Classes
- Conn
-
def
jvmPeerOnly(method: String): MoleculeException
- Attributes
- protected
- Definition Classes
- Conn
-
def
localOffset: String
- Definition Classes
- DateHandling
-
def
localZoneOffset: ZoneOffset
- Definition Classes
- DateHandling
-
def
mapAsJavaConcurrentMap[K, V](m: Map[K, V]): ConcurrentMap[K, V]
- Definition Classes
- JavaConversions
-
implicit
def
mapAsJavaConcurrentMapConverter[K, V](m: Map[K, V]): AsJava[ConcurrentMap[K, V]]
Adds an
asJavamethod that implicitly converts a Scala mutableconcurrent.Mapto a JavaConcurrentMap.Adds an
asJavamethod that implicitly converts a Scala mutableconcurrent.Mapto a JavaConcurrentMap.- Definition Classes
- JavaConversions
-
def
mapAsJavaMap[K, V](m: Map[K, V]): Map[K, V]
- Definition Classes
- JavaConversions
-
implicit
def
mapAsJavaMapConverter[K, V](m: Map[K, V]): AsJava[Map[K, V]]
Adds an
asJavamethod that implicitly converts a ScalaMapto a JavaMap.Adds an
asJavamethod that implicitly converts a ScalaMapto a JavaMap.- Definition Classes
- JavaConversions
-
def
mapAsScalaConcurrentMap[A, B](m: ConcurrentMap[A, B]): Map[A, B]
- Definition Classes
- JavaConversions
-
implicit
def
mapAsScalaConcurrentMapConverter[K, V](m: ConcurrentMap[K, V]): AsScala[Map[K, V]]
Adds an
asScalamethod that implicitly converts a JavaConcurrentMapto a Scala mutableconcurrent.Map.Adds an
asScalamethod that implicitly converts a JavaConcurrentMapto a Scala mutableconcurrent.Map.- Definition Classes
- JavaConversions
-
def
mapAsScalaMap[A, B](m: Map[A, B]): Map[A, B]
- Definition Classes
- JavaConversions
-
implicit
def
mapAsScalaMapConverter[K, V](m: Map[K, V]): AsScala[Map[K, V]]
Adds an
asScalamethod that implicitly converts a JavaMapto a Scala mutableMap.Adds an
asScalamethod that implicitly converts a JavaMapto a Scala mutableMap.- Definition Classes
- JavaConversions
-
def
marshallInputs(q: Query): (Seq[(Int, String, String)], Seq[(Int, String, Seq[String])], Seq[(Int, String, Seq[Seq[String]])])
- Definition Classes
- ColOps
-
def
mutableMapAsJavaMap[K, V](m: Map[K, V]): Map[K, V]
- Definition Classes
- JavaConversions
-
implicit
def
mutableMapAsJavaMapConverter[K, V](m: Map[K, V]): AsJava[Map[K, V]]
Adds an
asJavamethod that implicitly converts a Scala mutableMapto a JavaMap.Adds an
asJavamethod that implicitly converts a Scala mutableMapto a JavaMap.- Definition Classes
- JavaConversions
-
def
mutableSeqAsJavaList[A](s: Seq[A]): List[A]
- Definition Classes
- JavaConversions
-
implicit
def
mutableSeqAsJavaListConverter[A](b: Seq[A]): AsJava[List[A]]
Adds an
asJavamethod that implicitly converts a Scala mutableSeqto a JavaList.Adds an
asJavamethod that implicitly converts a Scala mutableSeqto a JavaList.- Definition Classes
- JavaConversions
-
def
mutableSetAsJavaSet[A](s: Set[A]): Set[A]
- Definition Classes
- JavaConversions
-
implicit
def
mutableSetAsJavaSetConverter[A](s: Set[A]): AsJava[Set[A]]
Adds an
asJavamethod that implicitly converts a Scala mutableSetto a JavaSet.Adds an
asJavamethod that implicitly converts a Scala mutableSetto a JavaSet.- Definition Classes
- JavaConversions
-
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
o(opt: Option[Any]): String
- Definition Classes
- Helpers
-
final
def
os(opt: Option[Set[_]]): String
- Definition Classes
- Helpers
-
def
pad(longest: Int, shorter: Int): String
- Definition Classes
- Helpers
-
def
padS(longest: Int, str: String): String
- Definition Classes
- Helpers
- val peerConn: Connection
-
def
peerOnly(method: String): MoleculeException
- Attributes
- protected
- Definition Classes
- Conn
-
def
propertiesAsScalaMap(p: Properties): Map[String, String]
- Definition Classes
- JavaConversions
-
implicit
def
propertiesAsScalaMapConverter(p: Properties): AsScala[Map[String, String]]
Adds an
asScalamethod that implicitly converts a JavaPropertiesto a Scala mutableMap[String, String].Adds an
asScalamethod that implicitly converts a JavaPropertiesto a Scala mutableMap[String, String].- Definition Classes
- JavaConversions
-
final
def
query(datalogQuery: String, inputs: Any*)(implicit ec: ExecutionContext): Future[List[List[AnyRef]]]
Query Datomic directly with Datalog query and optional Scala inputs.
Query Datomic directly with Datalog query and optional Scala inputs.
for { conn <- futConn // implicit Future[Conn] instance in scope // Typed tuple result from molecule _ <- Ns.str.int.get.map(_ ==> List( ("Liz", 37), ("Ben", 42), )) // Any-type result from query _ <- conn.query( "[:find ?b ?c :where [?a :Ns/str ?b][?a :Ns/int ?c]]" ).map(_ ==> List( List("Liz", 37), List("Ben", 42) )) // Any-type result from query with input(s) _ <- conn.query( "[:find ?b ?c :in $ ?c :where [?a :Ns/str ?b][?a :Ns/int ?c]]", 42 ).map(_ ==> List( List("Ben", 42) )) // See datalog queries of molecules with `inspectGet` _ <- Ns.str.int.inspectGet // shows Datalog query... } yield ()
- datalogQuery
Datomic query string
- inputs
Optional input(s) to query
- returns
Future[List[List[AnyRef]]]
-
final
def
release(): Unit
Request the release of resources associated with this connection.
Request the release of resources associated with this connection.
Method returns immediately, resources will be released asynchronously.
This method should only be called when the entire process is no longer interested in the connection.
Note that Datomic connections do not adhere to an acquire/use/release pattern. They are thread-safe, cached, and long lived. Many processes (e.g. application servers) will never call release.
-
final
def
removeTxReportQueue(): Unit
Removes the tx report queue associated with this connection.
-
final
def
render(value: Any): String
- Definition Classes
- Helpers
-
final
def
requestIndex: Boolean
Request that a background indexing job begin immediately.
Request that a background indexing job begin immediately.
Background indexing will happen asynchronously. You can track indexing completion with syncIndex(long).
-
def
seqAsJavaList[A](s: Seq[A]): List[A]
- Definition Classes
- JavaConversions
-
implicit
def
seqAsJavaListConverter[A](b: Seq[A]): AsJava[List[A]]
Adds an
asJavamethod that implicitly converts a ScalaSeqto a JavaList.Adds an
asJavamethod that implicitly converts a ScalaSeqto a JavaList.- Definition Classes
- JavaConversions
-
def
setAsJavaSet[A](s: Set[A]): Set[A]
- Definition Classes
- JavaConversions
-
implicit
def
setAsJavaSetConverter[A](s: Set[A]): AsJava[Set[A]]
Adds an
asJavamethod that implicitly converts a ScalaSetto a JavaSet.Adds an
asJavamethod that implicitly converts a ScalaSetto a JavaSet.- Definition Classes
- JavaConversions
-
final
def
sq[T](values: Seq[T]): String
- Definition Classes
- Helpers
- final def stmts2java(stmts: Seq[Statement]): List[List[_]]
-
def
str2date(s: String, zoneOffset: ZoneOffset = localZoneOffset): Date
- Definition Classes
- DateHandling
-
def
str2zdt(s: String, zoneOffset: ZoneOffset = localZoneOffset): ZonedDateTime
- Definition Classes
- DateHandling
-
final
def
sync(t: Long): Conn
Synchronize database to have all transactions completed up to and including time t.
Synchronize database to have all transactions completed up to and including time t.
Sets a flag with a time t on the connection to do the synchronization on the first subsequent query. Hereafter the flag is removed.
The synchronization guarantees to include all transactions that are complete up to and including time t.
syncdoes not communicate with the transactor, but it can block (within the Future) if the peer/client has not yet been notified of transactions up to time t.A Future with the synchronized database is returned for the query to use. The future can take arbitrarily long to complete. Waiting code should specify a timeout.
Only use
sync(t)when coordination of multiple peer/client processes is required.If peers/clients do not share a basis t, prefer
sync.- returns
Connection with synchronization flag set
-
final
def
sync: Conn
Synchronize database to have all transactions completed up until now.
Synchronize database to have all transactions completed up until now.
Sets a flag on the connection to do the synchronization on the first subsequent query. Hereafter the flag is removed.
The synchronization guarantees to include all transactions that are complete when the synchronization query is made. Before the query is executed, the connection communicates with the transactor to do the synchronization.
A Future with the synchronized database is returned for the query to use. The future can take arbitrarily long to complete. Waiting code should specify a timeout.
Only use
syncwhen the following two conditions hold:- coordination of multiple peer/client processes is required 2. peers/clients have no way to agree on a basis t for coordination
- returns
Connection with synchronization flag set
-
final
def
syncExcise(t: Long): Conn_Peer
Synchronize Peer database to be aware of all excisions up to time t.
Synchronize Peer database to be aware of all excisions up to time t.
(only implemented for Peer api)
Sets a flag with a time t on the connection to do the synchronization on the first subsequent query. Hereafter the flag is removed.
The synchronization guarantees a database aware of all excisions up to a time t. The synchronization does not involve calling the transactor.
A Future with the synchronized database is returned for the query to use. The future can take arbitrarily long to complete. Waiting code should specify a timeout.
Only use
syncSchemawhen coordination of multiple peer/client processes is required.- returns
Connection with synchronization flag set
-
final
def
syncIndex(t: Long): Conn_Peer
Synchronize Peer database to have been indexed through time t.
Synchronize Peer database to have been indexed through time t.
(only implemented for Peer api)
Sets a flag with a time t on the connection to do the synchronization on the first subsequent query. Hereafter the flag is removed.
The synchronization guarantees a database that has been indexed through time t. The synchronization does not involve calling the transactor.
A Future with the synchronized database is returned for the query to use. The future can take arbitrarily long to complete. Waiting code should specify a timeout.
Only use
syncIndexwhen coordination of multiple peer/client processes is required.- returns
Peer Connection with synchronization flag set
-
final
def
syncSchema(t: Long): Conn_Peer
Synchronize Peer database to be aware of all schema changes up to time t.
Synchronize Peer database to be aware of all schema changes up to time t.
(only implemented for Peer api)
Sets a flag with a time t on the connection to do the synchronization on the first subsequent query. Hereafter the flag is removed.
The synchronization guarantees a database aware of all schema changes up to time t. The synchronization does not involve calling the transactor.
A Future with the synchronized database is returned for the query to use. The future can take arbitrarily long to complete. Waiting code should specify a timeout.
Only use
syncSchemawhen coordination of multiple peer/client processes is required.- returns
Connection with synchronization flag set
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val system: String
-
def
testDb(db: DatomicDb_Peer): Unit
- Attributes
- protected
-
final
def
testDbAsOf(d: Date)(implicit ec: ExecutionContext): Future[Unit]
Use test database as of date.
-
final
def
testDbAsOf(txR: TxReport)(implicit ec: ExecutionContext): Future[Unit]
Use test database as of transaction report.
-
final
def
testDbAsOf(t: Long)(implicit ec: ExecutionContext): Future[Unit]
Use test database as of time t / tx id.
-
final
def
testDbAsOfNow(implicit ec: ExecutionContext): Future[Unit]
Use test database as of now.
-
final
def
testDbSince(txR: TxReport)(implicit ec: ExecutionContext): Future[Unit]
Use test database since transaction report.
-
final
def
testDbSince(d: Date)(implicit ec: ExecutionContext): Future[Unit]
Use test database since date.
-
final
def
testDbSince(t: Long)(implicit ec: ExecutionContext): Future[Unit]
Use test database since time t.
-
final
def
testDbWith(txDataJava: List[List[_]])(implicit ec: ExecutionContext): Future[Unit]
Use test database with temporary raw Java transaction data.
-
final
def
testDbWith(txMolecules: Future[Seq[Statement]]*)(implicit ec: ExecutionContext): Future[Unit]
Use test database with temporary transaction statements.
Use test database with temporary transaction statements.
Transaction statements can be supplied from a molecule:for { conn <- futConn // implicit Future[Conn] instance in scope // Live data benId = Person.name("Ben").save.map(_.eid) // Use temporary db with statements of one or more tested transactions _ <- conn.testDbWith( Person.name("liz").getSaveStmts, benId.getRetractStmts // more... ) // Query using temporary database _ <- Person.name.get.map(_ ==> List("Liz")) // Discard test db and go back to live db _ = conn.useLiveDb() // Query using unchanged live data _ <- Person.name.get.map(_ ==> List("Ben")) } yield ()
- txMolecules
List of List of transaction Statement's
-
def
thousands(i: Long): String
- Definition Classes
- Helpers
-
final
def
time(n: Int, prev: Int = 0): Unit
- Attributes
- protected
- Definition Classes
- Helpers
-
final
def
transact(javaStmts: List[_])(implicit ec: ExecutionContext): Future[TxReport]
Transact java statements
-
final
def
transact(stmtsReader: Reader)(implicit ec: ExecutionContext): Future[TxReport]
Transact statements from a java.util.Reader
-
final
def
transact(edn: String)(implicit ec: ExecutionContext): Future[TxReport]
Transact EDN data string
-
def
truncateDateStr(dateStr: String): String
- Definition Classes
- DateHandling
-
final
def
tupleToSeq(arg: Any): Seq[Any]
- Attributes
- protected
- Definition Classes
- Helpers
-
final
def
txReportQueue: TxReportQueue
Gets the single transaction report queue associated with this connection, creating it if necessary.
Gets the single transaction report queue associated with this connection, creating it if necessary.
The transaction report queue receives reports from all transactions in the system. Objects on the queue have the same keys as returned by transact(java.util.List).
The returned queue may be consumed from more than one thread.
Note that the returned queue does not block producers, and will consume memory until you consume the elements from it. Reports will be added to the queue at some point after the db has been updated.
If this connection originated the transaction, the transaction future will be notified first, before a report is placed on the queue.
- returns
TxReportQueue
-
def
unescStr(s: String): String
- Definition Classes
- Helpers
-
final
def
untupled(rawData: Iterable[Seq[Any]]): Iterable[Seq[Any]]
- Definition Classes
- Helpers
-
implicit
val
uriPickler: Pickler[URI]
- Definition Classes
- BooPicklers
-
final
def
useLiveDb(): Unit
Get out of test mode and back to live db.
-
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()
-
def
zone: ZoneId
- Definition Classes
- DateHandling

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