gql.server.interpreter

Members list

Type members

Classlikes

object AlphaRenaming

Attributes

Source
AlphaRenaming.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait Continuation[F[_], -I]

Attributes

Companion
object
Source
Continuation.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Continue[F, I, C]
class Contramap[F, I, I2]
class Done[F, I]
class Rethrow[F, I]
object Continuation

Attributes

Companion
trait
Source
Continuation.scala
Supertypes
trait Sum
trait Mirror
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 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, parentLeases: Set[Token], parentLease: Resource[F, Option[Int]], interruptContext: F[Unit])

Attributes

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

Attributes

Companion
class
Source
EvalContext.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
EvalNode.type
final case class EvalState[F[_]](values: Option[List[Entry[F, _]]], ps: ProduceConsume[F])

Attributes

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

Attributes

Companion
class
Source
EvalContext.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
EvalState.type
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

Attributes

Source
SharedResource.scala
Supertypes
class Object
trait Matchable
class Any
Self 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
trait SubgraphBatches[F[_]]

Attributes

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

Attributes

Companion
trait
Source
SubgraphBatches.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class SubqueryInterpreter[F[_]](state: Ref[F, EvalState[F]], sup: Supervisor[F], stats: Statistics[F], throttle: FunctionK[F, F], errors: Ref[F, Chain[EvalFailure]], subgraphBatches: SubgraphBatches[F])(implicit F: Async[F])

Attributes

Source
SubqueryInterpreter.scala
Supertypes
class Object
trait Matchable
class Any