class QueryCompiler extends AnyRef
GraphQL query compiler.
A QueryCompiler parses GraphQL queries to query algebra terms, then applies a collection of transformation phases in sequence, yielding a query algebra term which can be directly interpreted.
- Source
- compiler.scala
- Alphabetic
- By Inheritance
- QueryCompiler
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compile(text: String, name: Option[String] = None, untypedVars: Option[Json] = None, introspectionLevel: IntrospectionLevel = Full, env: Env = Env.empty): Result[Operation]
Compiles the GraphQL query
text
to a query algebra term which can be directly executed.Compiles the GraphQL query
text
to a query algebra term which can be directly executed.GraphQL errors and warnings are accumulated in the result.
- def compileOperation(op: UntypedOperation, untypedVars: Option[Json], frags: List[UntypedFragment], introspectionLevel: IntrospectionLevel = Full, env: Env = Env.empty): Result[Operation]
Compiles the provided operation AST to a query algebra term which can be directly executed.
Compiles the provided operation AST to a query algebra term which can be directly executed.
GraphQL errors and warnings are accumulated in the result.
- def compileType(tpe: Ast.Type): Result[Type]
Compiles a type AST to a type in the target schema.
Compiles a type AST to a type in the target schema.
GraphQL errors and warnings are accumulated in the result.
- def compileVarDefs(untypedVarDefs: UntypedVarDefs): Result[VarDefs]
Compiles variable definition ASTs to variable definitions for the target schema.
Compiles variable definition ASTs to variable definitions for the target schema.
GraphQL errors and warnings are accumulated in the result.
- def compileVars(varDefs: VarDefs, untypedVars: Option[Json]): Result[Vars]
Compiles raw query variables to variables for the target schema.
Compiles raw query variables to variables for the target schema.
GraphQL errors and warnings are accumulated in the result.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()