DatomicQueryResolve

molecule.datalog.datomic.query.DatomicQueryResolve
abstract class DatomicQueryResolve[Tpl](elements: List[Element], dbView: Option[DbView], m2q: Model2DatomicQuery[Tpl] & DatomicQueryBase) extends CursorUtils, MoleculeLogging

Attributes

Source
DatomicQueryResolve.scala
Graph
Supertypes
trait MoleculeLogging
trait Logging
trait CursorUtils
trait BaseHelpers
trait DateHandling
trait RegexMatching
class Object
trait Matchable
class Any
Show all
Known subtypes
class NoUnique[Tpl]
class PrimaryUnique[Tpl]
class SubUnique[Tpl]

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

Value members

Concrete methods

protected def getFromUntil(tc: Int, limit: Option[Int], offset: Option[Int]): Option[(Int, Int, Boolean)]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
DatomicQueryResolve.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

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

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

Attributes

Source
DatomicQueryResolve.scala
protected def postAdjustPullCasts(): Unit

Attributes

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

Attributes

Source
DatomicQueryResolve.scala

Inherited methods

protected def bigDec(arg: Any): BigDecimal

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.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
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
def firstLow(str: Any): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def getFilterAttr(tpe: String, ns: String, attr: String, fn: Op, v: String): AttrOneTac

Attributes

Inherited from:
CursorUtils
Source
CursorUtils.scala
def getKwName(kw: String): String

Attributes

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

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.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
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 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
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 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 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 withDecimal(v: Any): String

Attributes

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

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala

Concrete fields

lazy val edgeValuesNotFound: String

Attributes

Source
DatomicQueryResolve.scala

Inherited fields

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