QueryInterpreter

grackle.QueryInterpreter
See theQueryInterpreter companion object

Attributes

Companion
object
Source
queryinterpreter.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Interpret query with expected type rootTpe.

Interpret query with expected type rootTpe.

The query is fully interpreted, including deferred or staged components.

GraphQL errors are accumulated in the result.

Attributes

Source
queryinterpreter.scala

Interpret query against cursor, yielding a collection of fields.

Interpret query against cursor, yielding a collection of fields.

If the query is valid, the field subqueries will all be valid fields of the enclosing type tpe and the resulting fields may be used to build a Json object of type tpe. If the query is invalid errors will be returned on the left hand side of the result.

Attributes

Source
queryinterpreter.scala

Run a non-subscription query yielding a single result.

Run a non-subscription query yielding a single result.

Attributes

Source
queryinterpreter.scala

Interpret query with expected type rootTpe.

Interpret query with expected type rootTpe.

At most one stage will be run and the result may contain deferred components.

Errors are accumulated on the Left of the result.

Attributes

Source
queryinterpreter.scala

Run a subscription query yielding a stream of results.

Run a subscription query yielding a stream of results.

Attributes

Source
queryinterpreter.scala

Interpret query against cursor with expected type tpe.

Interpret query against cursor with expected type tpe.

If the query is invalid errors will be returned on the left hand side of the result.

Attributes

Source
queryinterpreter.scala