Rpc_datomic

molecule.datalog.datomic.marshalling.Rpc_datomic

Attributes

Source
Rpc_datomic.scala
Graph
Supertypes
trait FutureUtils
trait Logging
trait ModelUtils
trait DataType
trait MoleculeRpc
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited classlikes

implicit class futEither2fut[T](fut: Future[Either[MoleculeError, T]])(implicit ec: ExecutionContext)

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
Supertypes
class Object
trait Matchable
class Any

Inherited types

type Data = List[List[AnyRef]]

Attributes

Inherited from:
DatomicDataType_JVM
Source
DatomicDataType_JVM.scala

Value members

Concrete methods

override def delete(proxy: ConnProxy, elements: List[Element]): Future[Either[MoleculeError, TxReport]]

Attributes

Definition Classes
Source
Rpc_datomic.scala
override def insert(proxy: ConnProxy, elements: List[Element], tplsSerialized: Array[Byte]): Future[Either[MoleculeError, TxReport]]

Attributes

Definition Classes
Source
Rpc_datomic.scala
override def query[Any](proxy: ConnProxy, elements: List[Element], limit: Option[Int]): Future[Either[MoleculeError, List[Any]]]

Tuple type is not marshalled from client to server. So we signal this with the 'Any' type parameter. Model elements are used to pickle the correct types here on the server side. And once wired to the client side we can unpickle the data again from the model and cast to type Tpl.

Tuple type is not marshalled from client to server. So we signal this with the 'Any' type parameter. Model elements are used to pickle the correct types here on the server side. And once wired to the client side we can unpickle the data again from the model and cast to type Tpl.

Attributes

Definition Classes
Source
Rpc_datomic.scala
override def queryCursor[Any](proxy: ConnProxy, elements: List[Element], limit: Option[Int], cursor: String): Future[Either[MoleculeError, (List[Any], String, Boolean)]]

Attributes

Definition Classes
Source
Rpc_datomic.scala
override def queryOffset[Any](proxy: ConnProxy, elements: List[Element], limit: Option[Int], offset: Int): Future[Either[MoleculeError, (List[Any], Int, Boolean)]]

Attributes

Definition Classes
Source
Rpc_datomic.scala
override def save(proxy: ConnProxy, elements: List[Element]): Future[Either[MoleculeError, TxReport]]

Attributes

Definition Classes
Source
Rpc_datomic.scala
override def update(proxy: ConnProxy, elements: List[Element], isUpsert: Boolean): Future[Either[MoleculeError, TxReport]]

Attributes

Definition Classes
Source
Rpc_datomic.scala

Inherited methods

protected def addRetractEntityStmt(id: AnyRef): Boolean

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected def appendStmt(op: Keyword, e: AnyRef, a: Keyword, v: AnyRef): Unit

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
def await[T](body: => Future[T], atMost: Duration): T

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
protected def countValueAttrs(elements: List[Element]): Int

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def either[T](fut: Future[T])(implicit ec: ExecutionContext): Future[Either[MoleculeError, T]]

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
def future[T](body: => T)(implicit ec: ExecutionContext): Future[T]

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
final def getAttrNames(elements: List[Element], attrs: Set[String]): Set[String]

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
protected def getConn(proxy: ConnProxy): Future[DatomicConn_JVM]

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
final protected def getInitialNonGenericNs(elements: List[Element]): String

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
final protected def getInitialNs(elements: List[Element]): String

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
protected def initTxBase(elements: List[Element], idIndex: Int): Unit

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
def isRefUpdate(elements: List[Element]): Boolean

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
protected def kw(ns: String, attr: String): Keyword

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected def logger: Logger

The logger for this class.

The logger for this class.

Attributes

Inherited from:
Logging
Source
Logging.scala
protected def loggerName: String

Override this to change the name of the underlying logger.

Override this to change the name of the underlying logger.

Defaults to class name with package

Attributes

Inherited from:
Logging
Source
Logging.scala
protected def newId: String

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected def noKeywords(elements: List[Element], optProxy: Option[ConnProxy]): List[Element]

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
protected def stmtList: ArrayList[AnyRef]

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala

Inherited fields

lazy protected val add: Keyword

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected var backRefs: Map[String, AnyRef]

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
lazy protected val bigDec2java: Any => BigDecimal

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
lazy protected val bigInt2java: Any => BigInteger

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
lazy protected val boolean2java: Any => Boolean

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
lazy protected val byte2java: Any => Int

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
lazy protected val char2java: Any => String

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected var data: List[(String, String, String, Seq[AnyRef], Boolean)]

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
lazy protected val dbId: Keyword

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected var e: AnyRef

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected var e0: AnyRef

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected var filterElements: List[Element]

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected var ids: Seq[AnyRef]

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
val logFormatter: Formatter

Attributes

Inherited from:
MoleculeLogging
Source
MoleculeLogging.scala
val logLevel: Level

Attributes

Inherited from:
MoleculeLogging
Source
MoleculeLogging.scala
protected var lowest: Int

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected var nsFull: String

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected var part: String

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
lazy protected val retract: Keyword

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
lazy protected val retractEntity: Keyword

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
lazy protected val short2java: Any => Int

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected var stmt: List[AnyRef]

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
final protected val stmts: ArrayList[List[AnyRef]]

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected var tempId: Int

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected val unusedRefIds: ListBuffer[AnyRef]

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala
protected val usedRefIds: ListBuffer[AnyRef]

Attributes

Inherited from:
DatomicBase_JVM
Source
DatomicBase_JVM.scala

Implicits

Inherited implicits

final implicit def futEither2fut[T](fut: Future[Either[MoleculeError, T]])(implicit ec: ExecutionContext): futEither2fut[T]

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala