package marshalling
- Alphabetic
- Public
- All
Type Members
- trait BooPicklers extends Helpers
-
sealed
trait
ConnProxy extends AnyRef
Proxy connection on the client side.
Proxy connection on the client side.
To create molecules on the client side, an implicit Conn_Js object holding a proxy connection object needs to be in scope. Depending on which db system is used, one of the three available proxy connections can be supplied.
Here's an example of how to create an in-mem Peer proxy connection for a custom
Personschema:implicit val conn = Future(Conn_Js( DatomicPeerProxy("mem", "", PersonSchema.datomicPeer, PersonSchema.attrMap), "localhost", 9000 ))
-
case class
DatomicDevLocalProxy(protocol: String, system: String, storageDir: String, dbName: String, schema: Seq[String], attrMap: Map[String, (Int, String)], testDbStatus: Int = 0, testDbView: Option[DbView] = None, adhocDbView: Option[DbView] = None, uuid: String = UUID.randomUUID().toString) extends ConnProxy with Product with Serializable
Datomic dev-local proxy connection for locally testing against the Datomic Client api
Datomic dev-local proxy connection for locally testing against the Datomic Client api
- protocol
Datomic protocol: mem, dev or pro
- system
Name of Datomic system which translates into a directory in the datomic distributions folder where databases will be saved
- storageDir
Path to the downloaded dev-local directory
- dbName
Name of database, like "mbrainz-1968-1973"
- schema
Seq of schema transaction data from generated boilerplate code
- attrMap
Map of attribute data from generated boilerplate code
- testDbStatus
Internally applied setting, not intended to be set by user
- testDbView
Internally applied setting, not intended to be set by user
- adhocDbView
Internally applied setting, not intended to be set by user
- uuid
Internally applied setting, not intended to be set by user
-
case class
DatomicPeerProxy(protocol: String, dbIdentifier: String, schema: Seq[String], attrMap: Map[String, (Int, String)], testDbStatus: Int = 0, testDbView: Option[DbView] = None, adhocDbView: Option[DbView] = None, uuid: String = UUID.randomUUID().toString) extends ConnProxy with Product with Serializable
Datomic Peer proxy connection
Datomic Peer proxy connection
- protocol
Datomic protocol: mem, dev or pro
- dbIdentifier
Datomic db identifier, like "localhost:4334/mbrainz-1968-1973"
- schema
Seq of schema transaction data from generated boilerplate code
- attrMap
Map of attribute data from generated boilerplate code
- testDbStatus
Internally applied setting, not intended to be set by user
- testDbView
Internally applied setting, not intended to be set by user
- adhocDbView
Internally applied setting, not intended to be set by user
- uuid
Internally applied setting, not intended to be set by user
-
case class
DatomicPeerServerProxy(accessKey: String, secret: String, endpoint: String, dbName: String, schema: Seq[String], attrMap: Map[String, (Int, String)], testDbStatus: Int = 0, testDbView: Option[DbView] = None, adhocDbView: Option[DbView] = None, uuid: String = UUID.randomUUID().toString) extends ConnProxy with Product with Serializable
Datomic Peer Server proxy connection
Datomic Peer Server proxy connection
- accessKey
Peer Server access key
- secret
Peer Server secret password
- endpoint
Peer Server network endpoint, like "localhost:8998"
- dbName
Name of database, like "mbrainz-1968-1973"
- schema
Seq of schema transaction data from generated boilerplate code
- attrMap
Map of attribute data from generated boilerplate code
- testDbStatus
Internally applied setting, not intended to be set by user
- testDbView
Internally applied setting, not intended to be set by user
- adhocDbView
Internally applied setting, not intended to be set by user
- uuid
Internally applied setting, not intended to be set by user
- case class DbException(msg: String) extends Exception with Product with Serializable
- case class IndexArgs(e: Long = -1L, a: String = "", v: String = "", tpe: String = "", t: Long = -1L, inst: Long = -1L, v2: String = "", tpe2: String = "") extends Product with Serializable
-
abstract
class
Marshalling[Obj, Tpl] extends Molecule with Helpers
Marshalling methods
Marshalling methods
Methods are implemented by macros for either JS or JVM platform
- trait MoleculeRpc extends AnyRef
- case class MoleculeRpcResponse(interface: String, port: Int) extends BooPicklers with Product with Serializable

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