Packages

p

gql.server

interpreter

package interpreter

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait BackpressureSignal[F[_], A, B] extends AnyRef
  2. trait BatchAccumulator[F[_]] extends AnyRef
  3. trait DebugPrinter[F[_]] extends AnyRef
  4. trait Doced[A] extends AnyRef
  5. trait EvalFailure extends AnyRef
  6. final case class EvalNode[F[_], +A](cursor: Cursor, value: A, scope: Scope[F]) extends Product with Serializable
  7. final case class IndexedData[F[_], +A](index: Int, node: EvalNode[F, A]) extends Product with Serializable
  8. trait Lease[F[_]] extends AnyRef
  9. trait QueryInterpreter[F[_]] extends AnyRef

    The QueryInterpreter will prepare a query for execution by inspecting the ast and planning the query accordingly.

    The QueryInterpreter will prepare a query for execution by inspecting the ast and planning the query accordingly. Once all inputs have been prepared, the execution AST is passed to the SubqueryInterpreter for evaluation.

  10. trait Scope[F[_]] extends AnyRef
  11. trait SignalScopes[F[_], A] extends AnyRef
  12. sealed trait StepCont[F[_], -I, +O] extends AnyRef
  13. trait StreamInterpreter[F[_]] extends AnyRef

    The StreamInterpreter is resposible for:

    The StreamInterpreter is resposible for:

    • Wireing together results for a query.
    • Handling incoming asynchronous events.
    • Handling resource lifetimes.

    For actual query excution, take a look at QueryInterpreter.

  14. final case class StreamingData[F[_], A, B](originIndex: Int, edges: StepCont[F, A, B], value: Either[Throwable, A]) extends Product with Serializable
  15. trait SubqueryInterpreter[F[_]] extends AnyRef

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

    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.

Value Members

  1. object BackpressureSignal
  2. object BatchAccumulator
  3. object DebugPrinter
  4. object Doced
  5. object EvalFailure
  6. object EvalNode extends Serializable
  7. object IndexedData extends Serializable
  8. object QueryInterpreter
  9. object Scope
  10. object SignalScopes
  11. object StepCont
  12. object StreamInterpreter
  13. object StreamingData extends Serializable
  14. object SubqueryInterpreter

Ungrouped