t

edu.gemini.grackle

ValueMappingLike

trait ValueMappingLike[F[_]] extends Mapping[F]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValueMappingLike
  2. Mapping
  3. QueryExecutor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class CursorField[T](fieldName: String, f: (Cursor) => Result[T], encoder: Encoder[T], required: List[String], hidden: Boolean)(implicit pos: SourcePos) extends FieldMapping with Product with Serializable
    Definition Classes
    Mapping
  2. case class Delegate(fieldName: String, interpreter: Mapping[F], join: (Cursor, Query) => Result[Query] = ComponentElaborator.TrivialJoin)(implicit pos: SourcePos) extends FieldMapping with Product with Serializable
    Definition Classes
    Mapping
  3. trait FieldMapping extends Product with Serializable
    Definition Classes
    Mapping
  4. case class LeafCursor(context: Context, focus: Any, parent: Option[Cursor], env: Env) extends Cursor with Product with Serializable

    Cursor positioned at a GraphQL result leaf

    Cursor positioned at a GraphQL result leaf

    Definition Classes
    Mapping
  5. trait LeafMapping[T] extends TypeMapping
    Definition Classes
    Mapping
  6. abstract class ObjectMapping extends TypeMapping
    Definition Classes
    Mapping
  7. case class PrefixedMapping(tpe: Type, mappings: List[(List[String], ObjectMapping)])(implicit pos: SourcePos) extends TypeMapping with Product with Serializable
    Definition Classes
    Mapping
  8. case class PrimitiveField(fieldName: String, hidden: Boolean = false)(implicit pos: SourcePos) extends FieldMapping with Product with Serializable
    Definition Classes
    Mapping
  9. case class PrimitiveMapping(tpe: Type)(implicit pos: SourcePos) extends TypeMapping with Product with Serializable
    Definition Classes
    Mapping
  10. case class RootCursor(context: Context, parent: Option[Cursor], env: Env) extends AbstractCursor with Product with Serializable

    Root Cursor focussed on the top level operation of a query

    Root Cursor focussed on the top level operation of a query

    Construction of mapping-specific cursors is handled by delegation to mkCursorForField which is typically overridden in Mapping subtypes.

    Definition Classes
    Mapping
  11. case class RootEffect extends FieldMapping with Product with Serializable

    Root effects can perform an intial effect prior to computing the resulting Cursor and effective Query.

    Root effects can perform an intial effect prior to computing the resulting Cursor and effective Query.

    Convenience methods are provided to cover the cases where only one of the query or the cursor are computed, and for where the computation is one-shot or a Stream. One-shot effects are used to perform initial effectful setup for a query or to perform the effect associated with a GraphQL mutation. Stream effects are used for GraphQL subscriptions.

    If only the query is computed the default root cursor for the mapping will be used. If only the cursor is computed the client query (after elaboration) is used unmodified ... in this case results of the performed effect can only be passed to the result construction stage via the environment associated with the returned cursor.

    Definition Classes
    Mapping
  12. trait TypeMapping extends Product with Serializable
    Definition Classes
    Mapping
  13. case class ValueCursor(context: Context, focus: Any, parent: Option[Cursor], env: Env) extends Cursor with Product with Serializable
  14. case class ValueField[T](fieldName: String, f: (T) => Any, hidden: Boolean = false)(implicit pos: SourcePos) extends ValueFieldMapping[T] with Product with Serializable
  15. sealed trait ValueFieldMapping[T] extends FieldMapping
  16. case class ValueObjectMapping[T](tpe: Type, fieldMappings: List[ValueMappingLike.FieldMapping], classTag: ClassTag[T])(implicit pos: SourcePos) extends ObjectMapping with Product with Serializable

Abstract Value Members

  1. implicit abstract val M: Monad[F]
    Definition Classes
    Mapping
  2. abstract val schema: Schema
    Definition Classes
    Mapping
  3. abstract val typeMappings: List[TypeMapping]
    Definition Classes
    Mapping

Concrete Value Members

  1. object CursorField extends Serializable
    Definition Classes
    Mapping
  2. object LeafMapping extends Serializable
    Definition Classes
    Mapping
  3. object ObjectMapping extends Serializable
    Definition Classes
    Mapping
  4. object RootEffect extends Serializable
    Definition Classes
    Mapping
  5. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def ##: Int
    Definition Classes
    AnyRef → Any
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def ValueObjectMapping[T](tpe: Type, fieldMappings: List[ValueFieldMapping[T]])(implicit classTag: ClassTag[T], pos: SourcePos): ValueObjectMapping[T]
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. def compileAndRun(text: String, name: Option[String] = None, untypedVars: Option[Json] = None, introspectionLevel: IntrospectionLevel = Full, env: Env = Env.empty)(implicit sc: Compiler[F, F]): F[Json]
    Definition Classes
    QueryExecutor
  12. def compileAndRunAll(text: String, name: Option[String] = None, untypedVars: Option[Json] = None, introspectionLevel: IntrospectionLevel = Full, env: Env = Env.empty): Stream[F, Json]
    Definition Classes
    MappingQueryExecutor
  13. def compileAndRunOne(text: String, name: Option[String] = None, untypedVars: Option[Json] = None, introspectionLevel: IntrospectionLevel = Full, env: Env = Env.empty)(implicit sc: Compiler[F, F]): F[Json]
    Definition Classes
    MappingQueryExecutor
  14. lazy val compiler: QueryCompiler
    Definition Classes
    Mapping
  15. def compilerPhases: List[Phase]
    Definition Classes
    Mapping
  16. lazy val componentElaborator: ComponentElaborator[[_]F[_]]
    Definition Classes
    Mapping
  17. def defaultRootCursor(query: Query, tpe: Type, env: Env): F[Result[(Query, Cursor)]]

    Yields a Cursor focused on the top level operation type of the query

    Yields a Cursor focused on the top level operation type of the query

    Definition Classes
    Mapping
  18. def encoderForLeaf(tpe: Type): Option[Encoder[Any]]
    Definition Classes
    Mapping
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def fieldMapping(context: Context, fieldName: String): Option[FieldMapping]
    Definition Classes
    Mapping
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. val interpreter: QueryInterpreter[F]
    Definition Classes
    Mapping
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isLeaf(tpe: Type): Boolean

    True if the supplied type is a leaf with respect to the GraphQL schema or mapping, false otherwise.

    True if the supplied type is a leaf with respect to the GraphQL schema or mapping, false otherwise.

    Definition Classes
    Mapping
  27. def leafMapping[T](tpe: Type): Option[LeafMapping[T]]
    Definition Classes
    Mapping
  28. def mkCursor(context: Context, focus: Any, parent: Option[Cursor], env: Env): Cursor
  29. def mkCursorForField(parent: Cursor, fieldName: String, resultName: Option[String]): Result[Cursor]

    Yields a Cursor suitable for traversing the query result corresponding to the fieldName child of parent.

    Yields a Cursor suitable for traversing the query result corresponding to the fieldName child of parent.

    This method is typically overridden in and delegated to by Mapping subtypes.

    Definition Classes
    ValueMappingLikeMapping
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def objectMapping(context: Context): Option[ObjectMapping]
    Definition Classes
    Mapping
  34. def rootEffect(context: Context, fieldName: String): Option[RootEffect]

    Yields the RootEffect, if any, associated with fieldName.

    Yields the RootEffect, if any, associated with fieldName.

    Definition Classes
    Mapping
  35. def run(op: Operation, env: Env = Env.empty): Stream[F, Json]
    Definition Classes
    Mapping
  36. def run(query: Query, rootTpe: Type, env: Env): Stream[F, Json]
    Definition Classes
    Mapping
  37. val selectElaborator: SelectElaborator
    Definition Classes
    Mapping
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. def typeMapping(tpe: NamedType): Option[TypeMapping]
    Definition Classes
    Mapping
  41. val validator: MappingValidator
    Definition Classes
    Mapping
  42. def valueCursor[T](path: Path, env: Env, t: T): Cursor
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. object ValueField extends Serializable
  47. object ValueFieldMapping extends Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Mapping[F]

Inherited from QueryExecutor[F, Json]

Inherited from AnyRef

Inherited from Any

Ungrouped