object QueryInterpreter
- Source
- queryinterpreter.scala
- Alphabetic
- By Inheritance
- QueryInterpreter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract type ProtoJson <: AnyRef
Opaque type of partially constructed query results.
Opaque type of partially constructed query results.
Values may be fully expanded Json values, objects or arrays which not yet fully evaluated subtrees, or subqueries which are deferred to the next stage or another component of a composite interpreter.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def complete[F[_]](pj: ProtoJson)(implicit arg0: Monad[F]): F[Result[Json]]
Complete a possibly partial result.
Complete a possibly partial result.
Completes a single possibly partial result as described for
completeAll
. - def completeAll[F[_]](pjs: List[ProtoJson])(implicit arg0: Monad[F]): F[Result[List[Json]]]
Complete a collection of possibly deferred results.
Complete a collection of possibly deferred results.
Each result is completed by locating any subtrees which have been deferred or delegated to some other component interpreter in an overall composite interpreter. Deferred subtrees are gathered, grouped by their associated interpreter and then evaluated in batches. The results of these batch evaluations are then completed in a subsequent stage recursively until the results are fully evaluated or yield errors.
Complete results are substituted back into the corresponding enclosing Json.
Errors are aggregated across all the results and are accumulated on the
Left
of the result. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object ProtoJson