Interpreter

gql.interpreter.Interpreter$
See theInterpreter companion trait

Attributes

Companion:
trait
Source:
Interpreter.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class RunInput[F[_], A, B](data: IndexedData[A], cps: StepCont[F, A, B])

Attributes

Companion:
object
Source:
Interpreter.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
object RunInput

Attributes

Companion:
class
Source:
Interpreter.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class StreamMetadata[F[_], A, B](originIndex: Int, cursor: Cursor, edges: StepCont[F, A, B])

Attributes

Source:
Interpreter.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class StreamRecompute[A](toRemove: Set[A], hcsa: Set[A])

Attributes

Source:
Interpreter.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def constructStream[F[_] : Statistics, A](rootInput: A, rootSel: NonEmptyList[PreparedField[F, A]], schemaState: SchemaState[F], openTails: Boolean)(implicit evidence$7: Statistics[F], F: Async[F], planner: Planner[F]): Stream[F, (Chain[EvalFailure], JsonObject)]

Attributes

Source:
Interpreter.scala
def evalAll[F[_] : StreamSupervisor](metas: NonEmptyList[RunInput[F, _, _]], schemaState: SchemaState[F], background: Supervisor[F])(implicit evidence$4: Async[F], evidence$5: Statistics[F], evidence$6: StreamSupervisor[F], planner: Planner[F]): F[(Chain[EvalFailure], NonEmptyList[EvalNode[Json]], Map[Token, StreamMetadata[F, _, _]])]

Attributes

Source:
Interpreter.scala
def evalOne[F[_] : StreamSupervisor, A, B](input: RunInput[F, A, B], background: Supervisor[F], batchAccum: BatchAccumulator[F]): F[(Chain[EvalFailure], EvalNode[Json], Map[Token, StreamMetadata[F, _, _]])]

Attributes

Source:
Interpreter.scala
def findToRemove[A](nodes: List[(Cursor, A)], s: Set[A]): Set[A]

Attributes

Source:
Interpreter.scala
def groupNodeValues[A](nvs: List[(Cursor, A)]): Map[GraphArc, List[(Cursor, A)]]

Attributes

Source:
Interpreter.scala
def recompute[A](nodes: List[(Cursor, A)], s: Set[A]): StreamRecompute[A]

Attributes

Source:
Interpreter.scala
def runStreamed[F[_] : Planner, A](rootInput: A, rootSel: NonEmptyList[PreparedField[F, A]], schemaState: SchemaState[F])(implicit evidence$8: Statistics[F], evidence$9: Planner[F], F: Async[F]): Stream[F, (Chain[EvalFailure], JsonObject)]

Attributes

Source:
Interpreter.scala
def runSync[F[_] : Planner, A](rootInput: A, rootSel: NonEmptyList[PreparedField[F, A]], schemaState: SchemaState[F]): F[(Chain[EvalFailure], JsonObject)]

Attributes

Source:
Interpreter.scala
def stitchInto(oldTree: Json, subTree: Json, path: Cursor): Json

Attributes

Source:
Interpreter.scala