gql.server.interpreter

Members list

Type members

Classlikes

trait BackpressureSignal[F[_], A, B]

Attributes

Companion
object
Source
BackpressureSignal.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
BackpressureSignal.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait BatchAccumulator[F[_]]

Attributes

Companion
object
Source
BatchAccumulator.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
trait
Source
BatchAccumulator.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait DebugPrinter[F[_]]

Attributes

Companion
object
Source
DebugPrinter.scala
Supertypes
class Object
trait Matchable
class Any
object DebugPrinter

Attributes

Companion
trait
Source
DebugPrinter.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Doced[A]

Attributes

Companion
object
Source
Doced.scala
Supertypes
class Object
trait Matchable
class Any
object Doced

Attributes

Companion
trait
Source
Doced.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Doced.type
trait EvalFailure

Attributes

Companion
object
Source
EvalFailure.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object EvalFailure

Attributes

Companion
trait
Source
EvalFailure.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class EvalNode[F[_], +A](cursor: Cursor, value: A, scope: Scope[F])

Attributes

Companion
object
Source
EvalNode.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object EvalNode

Attributes

Companion
class
Source
EvalNode.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
EvalNode.type
final case class IndexedData[F[_], +A](index: Int, node: EvalNode[F, A])

Attributes

Companion
object
Source
IndexedData.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object IndexedData

Attributes

Companion
class
Source
IndexedData.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
trait Lease[F[_]]

Attributes

Source
Lease.scala
Supertypes
class Object
trait Matchable
class Any
trait QueryInterpreter[F[_]]

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.

Attributes

Companion
object
Source
QueryInterpreter.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
QueryInterpreter.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Scope[F[_]]

Attributes

Companion
object
Source
Scope.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Scope[F]
object Scope

Attributes

Companion
trait
Source
Scope.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Scope.type
trait SignalScopes[F[_], A]

Attributes

Companion
object
Source
SignalScopes.scala
Supertypes
class Object
trait Matchable
class Any
object SignalScopes

Attributes

Companion
trait
Source
SignalScopes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait StepCont[F[_], -I, +O]

Attributes

Companion
object
Source
StepCont.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Continue[F, I, C, O]
class Done[F, I]
class Join[F, I, O]
class TupleWith[F, I, C, O]
object StepCont

Attributes

Companion
trait
Source
StepCont.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
StepCont.type
trait StreamInterpreter[F[_]]

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.

Attributes

Companion
object
Source
StreamInterpreter.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
StreamInterpreter.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final case class StreamingData[F[_], A, B](originIndex: Int, edges: StepCont[F, A, B], value: Either[Throwable, A])

Attributes

Companion
object
Source
StreamingData.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object StreamingData

Attributes

Companion
class
Source
StreamingData.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
trait SubqueryInterpreter[F[_]]

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.

Attributes

Companion
object
Source
SubqueryInterpreter.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
SubqueryInterpreter.scala
Supertypes
class Object
trait Matchable
class Any
Self type