abstract class Mapping[F[_]] extends QueryExecutor[F, Json]

Linear Supertypes
QueryExecutor[F, Json], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Mapping
  2. QueryExecutor
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Mapping()(implicit M: Monad[F])

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
  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
  3. trait FieldMapping extends Product with Serializable
  4. trait LeafMapping[T] extends TypeMapping
  5. case class Mutation(run: (Query, Env) => Stream[F, Result[(Query, Env)]]) extends Product with Serializable

    Root mappings can perform a mutation prior to constructing the result Cursor.

    Root mappings can perform a mutation prior to constructing the result Cursor. A Mutation may perform a Unit effect and simply return the passed arguments; or it may refine the passed Query and/or Env that will be used to interpret the resulting Cursor.

  6. trait ObjectMapping extends TypeMapping
  7. case class PrefixedMapping(tpe: Type, mappings: List[(List[String], ObjectMapping)])(implicit pos: SourcePos) extends TypeMapping with Product with Serializable
  8. case class PrimitiveMapping(tpe: Type)(implicit pos: SourcePos) extends TypeMapping with Product with Serializable
  9. trait RootMapping extends FieldMapping
  10. trait TypeMapping extends Product with Serializable

Abstract Value Members

  1. abstract val schema: Schema
  2. abstract val typeMappings: List[TypeMapping]

Concrete 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. implicit val M: Monad[F]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. 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
  8. 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
  9. 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
  10. lazy val compiler: QueryCompiler
  11. def compilerPhases: List[Phase]
  12. lazy val componentElaborator: ComponentElaborator[[_]F[_]]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def fieldMapping(path: List[String], tpe: Type, fieldName: String): Option[FieldMapping]
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. val interpreter: QueryInterpreter[F]
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def leafMapping[T](tpe: Type): Option[LeafMapping[T]]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def objectMapping(path: List[String], tpe: Type): Option[ObjectMapping]
  25. def rootCursor(path: List[String], rootTpe: Type, fieldName: String, child: Query, env: Env): Stream[F, Result[(Query, Cursor)]]
  26. def rootMapping(path: List[String], tpe: Type, fieldName: String): Option[RootMapping]
  27. def run(op: Operation, env: Env = Env.empty): Stream[F, Json]
  28. def run(query: Query, rootTpe: Type, env: Env): Stream[F, Json]
    Definition Classes
    MappingQueryExecutor
  29. val selectElaborator: SelectElaborator
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def typeMapping(tpe: Type): Option[TypeMapping]
  33. val validator: MappingValidator
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. object CursorField extends Serializable
  38. object LeafMapping extends Serializable
  39. object Mutation extends Serializable
  40. object ObjectMapping 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 QueryExecutor[F, Json]

Inherited from AnyRef

Inherited from Any

Ungrouped