DatomicQueryResolveOffset
molecule.datalog.datomic.query.DatomicQueryResolveOffset
case class DatomicQueryResolveOffset[Tpl](elements: List[Element], optLimit: Option[Int], optOffset: Option[Int], dbView: Option[DbView], m2q: Model2DatomicQuery[Tpl] & DatomicQueryBase) extends DatomicQueryResolve[Tpl], FutureUtils, MoleculeLogging
Value parameters
- dbView
-
Database with a time perspective (Datomic)
- 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.
- optOffset
-
Positive offset from start when going forwards, negative offset from end when going backwards
Attributes
- Source
- DatomicQueryResolveOffset.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait FutureUtilstrait ModelUtilsclass DatomicQueryResolve[Tpl]trait MoleculeLoggingtrait Loggingtrait Pagination[Tpl]class Objecttrait Matchableclass AnyShow all
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 Objecttrait Matchableclass Any
Value members
Concrete methods
Attributes
def getListFromOffset_sync(altDb: Option[Database])(implicit conn: DatomicConn_JVM): (List[Tpl], Int, Boolean)
Attributes
Attributes
Attributes
Inherited methods
Attributes
- Inherited from:
- FutureUtils
- Source
- FutureUtils.scala
Attributes
- Inherited from:
- ModelUtils
- Source
- ModelUtils.scala
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
Attributes
- Inherited from:
- FutureUtils
- Source
- FutureUtils.scala
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
Attributes
- Inherited from:
- FutureUtils
- Source
- FutureUtils.scala
Attributes
- Inherited from:
- ModelUtils
- Source
- ModelUtils.scala
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
protected def getFromUntil(tc: Int, limit: Option[Int], offset: Option[Int]): Option[(Int, Int, Boolean)]
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
Attributes
- Inherited from:
- ModelUtils
- Source
- ModelUtils.scala
Attributes
- Inherited from:
- ModelUtils
- Source
- ModelUtils.scala
def getRawData(conn: DatomicConn_JVM, altElements: List[Element], altDb: Option[Database], validate: Boolean): Collection[List[AnyRef]]
Attributes
- Inherited from:
- DatomicQueryResolve
- Source
- DatomicQueryResolve.scala
Attributes
- Inherited from:
- ModelUtils
- Source
- ModelUtils.scala
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
The logger for this class.
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
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
Attributes
- Inherited from:
- ModelUtils
- Source
- ModelUtils.scala
Attributes
- Inherited from:
- ModelUtils
- Source
- ModelUtils.scala
Attributes
- Inherited from:
- ModelUtils
- Source
- ModelUtils.scala
Attributes
- Inherited from:
- ModelUtils
- Source
- ModelUtils.scala
Attributes
- Inherited from:
- ModelUtils
- Source
- ModelUtils.scala
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
protected def offsetRaw(sortedRows: ArrayList[List[AnyRef]], fromUntil: Option[(Int, Int, Boolean)]): List[List[AnyRef]]
Attributes
- Inherited from:
- DatomicQueryResolve
- 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: Unit => (List[AnyRef]) => Any, nextCursor: (List[Tpl], List[String]) => String): (List[Tpl], String, Boolean)
Attributes
- Inherited from:
- DatomicQueryResolve
- Source
- DatomicQueryResolve.scala
protected def paginateTpls(count: Int, tpls: List[Tpl], identifiers: List[Any], identify: Tpl => Any): (List[Tpl], Int)
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
Attributes
- Inherited from:
- DatomicQueryResolve
- Source
- DatomicQueryResolve.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- DatomicQueryResolve
- Source
- DatomicQueryResolve.scala
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
Attributes
- Inherited from:
- ModelUtils
- Source
- ModelUtils.scala
Inherited fields
Attributes
- Inherited from:
- Pagination
- Source
- Pagination.scala
Attributes
- Inherited from:
- MoleculeLogging
- Source
- MoleculeLogging.scala
Attributes
- Inherited from:
- MoleculeLogging
- Source
- MoleculeLogging.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
In this article