package interpreter
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- trait BackpressureSignal[F[_], A, B] extends AnyRef
- trait BatchAccumulator[F[_]] extends AnyRef
- trait DebugPrinter[F[_]] extends AnyRef
- trait Doced[A] extends AnyRef
- trait EvalFailure extends AnyRef
- final case class EvalNode[F[_], +A](cursor: Cursor, value: A, scope: Scope[F]) extends Product with Serializable
- final case class IndexedData[F[_], +A](index: Int, node: EvalNode[F, A]) extends Product with Serializable
- trait Lease[F[_]] extends AnyRef
- 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.
- trait Scope[F[_]] extends AnyRef
- trait SignalScopes[F[_], A] extends AnyRef
- sealed trait StepCont[F[_], -I, +O] extends AnyRef
- 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.
- final case class StreamingData[F[_], A, B](originIndex: Int, edges: StepCont[F, A, B], value: Either[Throwable, A]) extends Product with Serializable
- 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
- object BackpressureSignal
- object BatchAccumulator
- object DebugPrinter
- object Doced
- object EvalFailure
- object EvalNode extends Serializable
- object IndexedData extends Serializable
- object QueryInterpreter
- object Scope
- object SignalScopes
- object StepCont
- object StreamInterpreter
- object StreamingData extends Serializable
- object SubqueryInterpreter