c

gql.server.interpreter

SubqueryInterpreter

class SubqueryInterpreter[F[_]] extends AnyRef

The SubqueryInterpreter recursively runs through the AST and performs a multitude of tasks:

  • Runs the gql.resolver.Resolver/gql.resolver.Steps defined in the query.
  • Accumulates errors that occur during the evaluation of the query.
  • Logs streams that have been subscribed to.
  • Batches computations that have been marked as batchable.
Source
SubqueryInterpreter.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubqueryInterpreter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SubqueryInterpreter(ss: SignalScopes[F, StreamData[F, _]], sup: Supervisor[F], stats: Statistics[F], throttle: ~>[F, F], errors: Ref[F, Chain[EvalFailure]], subgraphBatches: SubgraphBatches[F])(implicit F: Async[F])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def goCont[I](c: Continuation[F, I], en: EvalNode[F, I]): F[Json]
    Annotations
    @nowarnIgnored("msg=.*cannot be checked at runtime because its type arguments can't be determined.*")
  11. def goStep[I, O](ps: PreparedStep[F, I, O], cont: Continuation[F, O], en: EvalNode[F, I]): F[Json]
    Annotations
    @nowarnIgnored("msg=.*cannot be checked at runtime because its type arguments can't be determined.*")
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def interpretEffect[I0, O0](ps: PreparedStep[F, I0, O0], cont: Prepared[F, O0], en: EvalNode[F, I0]): F[Json]
  14. def interpretPrepared[I](s: Prepared[F, I], en: EvalNode[F, I]): F[Json]
    Annotations
    @nowarnIgnored("msg=.*cannot be checked at runtime because its type arguments can't be determined.*")
  15. def interpretSelection[I](fields: List[PreparedField[F, I]], en: EvalNode[F, I]): F[Chain[(String, Json)]]
    Annotations
    @nowarnIgnored("msg=.*cannot be checked at runtime because its type arguments can't be determined.*")
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def runEffect[A](fa: F[A], id: UniqueEdgeCursor, n: Int, makeError: (Throwable) => EvalFailure): F[Option[A]]
  21. def submit(name: String, duration: FiniteDuration, size: Int): F[Unit]
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped