class QueryInterpreter[F[_]] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryInterpreter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new QueryInterpreter(mapping: Mapping[F])(implicit arg0: Monad[F])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def run(query: Query, rootTpe: Type): F[Json]

    Interpret query with expected type rootTpe.

    Interpret query with expected type rootTpe.

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

    The resulting Json value should include standard GraphQL error information in the case of failure.

  16. def runFields(query: Query, tpe: Type, cursor: Cursor): Result[List[(String, ProtoJson)]]

    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.

  17. def runList(query: Query, tpe: Type, cursor: Cursor, f: Kleisli[Result, List[Cursor], List[Cursor]]): Result[ProtoJson]
  18. def runRoot(query: Query, rootTpe: Type): F[Result[Json]]

    Interpret query with expected type rootTpe.

    Interpret query with expected type rootTpe.

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

    Errors are accumulated on the Left of the result.

  19. def runRootValue(query: Query, rootTpe: Type): F[Result[ProtoJson]]

    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.

  20. def runRootValues(queries: List[(Query, Type)]): F[(Chain[Json], List[ProtoJson])]

    Interpret multiple queries with respect to their expected types.

    Interpret multiple queries with respect to their expected types.

    Each query is interpreted with respect to the expected type it is paired with. The result list is aligned with the argument list query list. For each query at most one stage will be run and the corresponding result may contain deferred components.

    Errors are aggregated across all the argument queries and are accumulated on the Left of the result.

    This method is typically called at the end of a stage to evaluate deferred subqueries in the result of that stage. These will be grouped by and passed jointly to the responsible interpreter in the next stage using this method. Interpreters which are able to benefit from combining queries may do so by overriding this method to implement their specific combinging logic.

  21. def runValue(query: Query, tpe: Type, cursor: Cursor): Result[ProtoJson]

    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 teh left hand side of the result.

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped