DatomicQueryResolveCursor

molecule.datalog.datomic.query.DatomicQueryResolveCursor
case class DatomicQueryResolveCursor[Tpl](elements: List[Element], optLimit: Option[Int], cursor: Option[String], dbView: Option[DbView], m2q: Model2DatomicQuery[Tpl] & DatomicQueryBase) extends DatomicQueryResolve[Tpl], FutureUtils, CursorUtils, ModelTransformations_, MoleculeLogging

Type parameters

Tpl

Type of each row

Value parameters

cursor

Base64 encoded cursor meta information

elements

Molecule model

optLimit

When going forward from start, use a positive number. And vice versa from end with a negative number. Can't be zero.

Attributes

Source
DatomicQueryResolveCursor.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ModelTransformations_
trait FutureUtils
trait ModelUtils
class DatomicQueryResolve[Tpl]
trait MoleculeLogging
trait Logging
trait CursorUtils
trait BaseHelpers
trait DateHandling
trait RegexMatching
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

implicit class Regex(sc: StringContext)

Attributes

Inherited from:
RegexMatching
Source
RegexMatching.scala
Supertypes
class Object
trait Matchable
class Any
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

Value members

Concrete methods

def getListFromCursor_sync(implicit conn: DatomicConn_JVM): (List[Tpl], String, Boolean)

Inherited methods

protected def addOne[T](es: List[Element], op: Op, vs: Seq[T]): List[Element]

Attributes

Inherited from:
ModelTransformations_
Source
ModelTransformations_.scala
protected def addOptOne[T](es: List[Element], op: Op, vs: Option[Seq[T]]): List[Element]

Attributes

Inherited from:
ModelTransformations_
Source
ModelTransformations_.scala
protected def addOptSet[T](es: List[Element], op: Op, vs: Option[Seq[Set[T]]]): List[Element]

Attributes

Inherited from:
ModelTransformations_
Source
ModelTransformations_.scala
protected def addSet[T](es: List[Element], op: Op, vs: Seq[Set[T]]): List[Element]

Attributes

Inherited from:
ModelTransformations_
Source
ModelTransformations_.scala
protected def addSort(es: List[Element], sort: String): List[Element]

Attributes

Inherited from:
ModelTransformations_
Source
ModelTransformations_.scala
protected def asIs(es: List[Element], kw: Kw, n: Option[Int]): List[Element]

Attributes

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

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
protected def bigDec(arg: Any): BigDecimal

Attributes

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

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def date2datomic(date: Date): String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def date2str(date: Date, zoneOffset: ZoneOffset): String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def daylight(ms: Long): Int

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
protected def decoder(tpe: String): String => Any

Attributes

Inherited from:
CursorUtils
Source
CursorUtils.scala
protected def double(arg: Any): String

Attributes

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

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala
protected def encoder(tpe: String, kind: String): Any => String

Attributes

Inherited from:
CursorUtils
Source
CursorUtils.scala
def escStr(s: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def expandDateStr(dateStr: String): String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
protected def filterAttr(es: List[Element], op: Op, filterAttrMolecule: Molecule): List[Element]

Attributes

Inherited from:
ModelTransformations_
Source
ModelTransformations_.scala
def firstLow(str: Any): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.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 getFilterAttr(tpe: String, ns: String, attr: String, fn: Op, v: String): AttrOneTac

Attributes

Inherited from:
CursorUtils
Source
CursorUtils.scala
protected def getFromUntil(tc: Int, limit: Option[Int], offset: Option[Int]): Option[(Int, Int, Boolean)]

Attributes

Inherited from:
DatomicQueryResolve
Source
DatomicQueryResolve.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
def getKwName(kw: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def getRawData(conn: DatomicConn_JVM, altElements: List[Element], altDb: Option[Database]): Collection[List[AnyRef]]

Attributes

Inherited from:
DatomicQueryResolve
Source
DatomicQueryResolve.scala
protected def getRowHashes(tpls: List[Tpl]): List[String]

Attributes

Inherited from:
DatomicQueryResolve
Source
DatomicQueryResolve.scala
protected def getUniquePair(tpls: List[Tpl], uniqueIndex: Int, encode: Any => String): List[String]

Attributes

Inherited from:
DatomicQueryResolve
Source
DatomicQueryResolve.scala
protected def getUniqueValues(tpls0: List[Tpl], uniqueIndex: Int, encode: Any => String): List[String]

Attributes

Inherited from:
DatomicQueryResolve
Source
DatomicQueryResolve.scala
def indent(tabs: Int): String

Attributes

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

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def localOffset: String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def localZoneOffset: ZoneOffset

Attributes

Inherited from:
DateHandling
Source
DateHandling.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 noKeywords(elements: List[Element], optProxy: Option[ConnProxy]): List[Element]

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
final protected def nonReservedAttr(a: Attr, proxy: ConnProxy): (String, String)

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
final protected def nonReservedBackRef(backRef: BackRef, proxy: ConnProxy): (String, String)

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
final protected def nonReservedRef(ref: Ref, proxy: ConnProxy): (String, String, String)

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
final def o(opt: Option[Any]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def oStr(opt: Option[String]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def oStr2(opt: Option[String]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def offsetRaw(sortedRows: ArrayList[List[AnyRef]], fromUntil: Option[(Int, Int, Boolean)]): List[List[AnyRef]]

Attributes

Inherited from:
DatomicQueryResolve
Source
DatomicQueryResolve.scala
protected def okEnumIdent(enumIdent: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def okIdent(name: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def okNamespaceName(name: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def okPartitionName(name: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def opt(opt: Option[Any]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def pad(longest: Int, shorter: Int): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def padS(longest: Int, str: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def paginateFromIdentifiers(conn: DatomicConn_JVM, limit: Int, forward: Boolean, allTokens: List[String], attrTokens: List[String], identifiers: List[Any], identifyTpl: Tpl => Any, identifyRow: Boolean => List[AnyRef] => Any, nextCursor: (List[Tpl], List[String]) => String): (List[Tpl], String, Boolean)

Attributes

Inherited from:
DatomicQueryResolve
Source
DatomicQueryResolve.scala
def paginateRows(count: Int, sortedRows: List[List[AnyRef]], identifiers: List[Any], identify: List[AnyRef] => Any, row2tpl: List[AnyRef] => Tpl): (List[Tpl], Int)

Attributes

Inherited from:
DatomicQueryResolve
Source
DatomicQueryResolve.scala
def paginateTpls(count: Int, tpls: List[Tpl], identifiers: List[Any], identify: Tpl => Any): (List[Tpl], Int)

Attributes

Inherited from:
DatomicQueryResolve
Source
DatomicQueryResolve.scala
protected def postAdjustPullCasts(): Unit

Attributes

Inherited from:
DatomicQueryResolve
Source
DatomicQueryResolve.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def render(value: Any): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def renderValidations(validations: Seq[(String, String)]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final protected def resetTimer(): Unit

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final protected def resolveReservedNames(a0: Attr, proxy: ConnProxy, optFilterAttr: Option[Attr]): Attr

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
protected def reverseTopLevelSorting(es: List[Element]): List[Element]

Attributes

Inherited from:
ModelTransformations_
Source
ModelTransformations_.scala
protected def sortRows(rows: Collection[List[AnyRef]]): ArrayList[List[AnyRef]]

Attributes

Inherited from:
DatomicQueryResolve
Source
DatomicQueryResolve.scala
final def sq[T](values: Iterable[T]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def ss(a: String, b: String, c: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def ss(a: String, b: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def str2date(s: String, zoneOffset: ZoneOffset): Date

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def str2zdt(s: String, zoneOffset: ZoneOffset): ZonedDateTime

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def thousands(i: Long): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final protected def time(n: Int, prev: Int): Unit

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def toDouble(es: List[Element], kw: Kw): List[Element]

Attributes

Inherited from:
ModelTransformations_
Source
ModelTransformations_.scala
protected def toInt(es: List[Element], kw: Kw): List[Element]

Attributes

Inherited from:
ModelTransformations_
Source
ModelTransformations_.scala
protected def tpeEncode(element: AttrOne): (String, Any => String)

Attributes

Inherited from:
CursorUtils
Source
CursorUtils.scala
def truncateDateStr(dateStr: String): String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def unescStr(s: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def unexpected(element: Element): Nothing

Attributes

Inherited from:
ModelTransformations_
Source
ModelTransformations_.scala
def withDecimal(v: Any): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def zone: ZoneId

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala

Inherited fields

lazy val edgeValuesNotFound: String

Attributes

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

Attributes

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

Attributes

Inherited from:
MoleculeLogging
Source
MoleculeLogging.scala

Implicits

Inherited implicits

final implicit def Regex(sc: StringContext): Regex

Attributes

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

Attributes

Inherited from:
FutureUtils
Source
FutureUtils.scala