Packages

o

gql

PreparedQuery

object PreparedQuery

Source
PreparedQuery.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PreparedQuery
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class FieldInfo[G[_]](name: String, alias: Option[String], args: Option[Arguments], tpe: SimplifiedType[G], caret: Caret, path: PrepCursor) extends Product with Serializable
  2. final case class FoundImplementation[G[_], A, B](tpe: Type[G, B], specify: (A) => Option[B]) extends Product with Serializable
  3. type H[A] = Kleisli[[γ$1$]EitherT[Eval, Type[PositionalError], γ$1$], Prep, A]
  4. final case class MergedImplementation2[G[_], A, B](leaf: Type[G, B], selections: NonEmptyList[PairedFieldSelection[G, B]], specify: (A) => Option[B]) extends Product with Serializable
  5. final case class PairedFieldSelection[G[_], A](info: FieldInfo[G], field: Field[G, A, _]) extends Product with Serializable
  6. final case class PositionalError(position: PrepCursor, caret: List[Caret], message: String) extends Product with Serializable
  7. final case class Prep(cycleSet: Set[String], cursor: PrepCursor) extends Product with Serializable
  8. final case class PrepCursor(position: Chain[Edge]) extends Product with Serializable
  9. sealed trait PrepResult[G[_], Q, M, S] extends AnyRef
  10. sealed trait Prepared[F[_], I] extends AnyRef
  11. final case class PreparedCont[F[_], I, A](edges: PreparedStep[F, I, A], cont: Prepared[F, A]) extends Product with Serializable
  12. final case class PreparedDataField[F[_], A](name: String, alias: Option[String], cont: PreparedCont[F, A, _]) extends PreparedField[F, A] with Product with Serializable
  13. sealed trait PreparedField[F[_], A] extends AnyRef
  14. final case class PreparedLeaf[F[_], I](name: String, encode: (I) => Json) extends Prepared[F, I] with Product with Serializable
  15. final case class PreparedList[F[_], A, C, B](of: PreparedCont[F, A, B], toSeq: (C) => Seq[A]) extends Prepared[F, C] with Product with Serializable
  16. final case class PreparedMeta(variables: VariableMap, alias: Option[String], args: Option[Arguments]) extends Product with Serializable
  17. final case class PreparedOption[F[_], I, O](of: PreparedCont[F, I, O]) extends Prepared[F, Option[I]] with Product with Serializable
  18. final case class PreparedSpecification[F[_], I, A](typename: String, specify: (I) => Option[A], selection: NonEmptyList[PreparedDataField[F, A]]) extends PreparedField[F, I] with Product with Serializable
  19. sealed trait PreparedStep[F[_], -I, +O] extends AnyRef
  20. final case class Selection[F[_], I](fields: NonEmptyList[PreparedField[F, I]]) extends Prepared[F, I] with Product with Serializable
  21. final case class SelectionInfo[G[_]](s: Selectable[G, _], fields: NonEmptyList[FieldInfo[G]], fragmentName: Option[String]) extends Product with Serializable
  22. sealed trait SimplifiedType[G[_]] extends AnyRef
  23. final case class UniqueEdgeCursor(path: NonEmptyChain[String]) extends Product with Serializable
  24. type Used[F[_], A] = WriterT[F, UsedArgs, A]
  25. type UsedArgs = Set[String]
  26. type VariableMap = Map[String, Either[parser.QueryParser.Value, Json]]

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. def ambientArg[F[_], A](name: String)(fa: F[A])(implicit L: Local[F, Prep]): F[A]
  5. def ambientEdge[F[_], A](edge: Edge)(fa: F[A])(implicit L: Local[F, Prep]): F[A]
  6. def ambientField[F[_], A](name: String)(fa: F[A])(implicit L: Local[F, Prep]): F[A]
  7. def ambientIndex[F[_], A](i: Int)(fa: F[A])(implicit L: Local[F, Prep]): F[A]
  8. def ambientInputType[F[_], A](name: String)(fa: F[A])(implicit L: Local[F, Prep]): F[A]
  9. def ambientOutputType[F[_], A](name: String)(fa: F[A])(implicit L: Local[F, Prep]): F[A]
  10. def appendMessage[F[_], A](message: String)(fa: F[A])(implicit F: MonadError[F, NonEmptyChain[PositionalError]]): F[A]
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def checkFieldsMerge[F[_], G[_]](a: FieldInfo[G], asi: SelectionInfo[G], b: FieldInfo[G], bsi: SelectionInfo[G])(implicit arg0: Parallel[F], F: MonadError[F, NonEmptyChain[PositionalError]], L: Local[F, Prep]): F[Unit]
  13. def checkSelectionsMerge[F[_], G[_]](xs: NonEmptyList[SelectionInfo[G]])(implicit arg0: Parallel[F], F: MonadError[F, NonEmptyChain[PositionalError]], L: Local[F, Prep]): F[Unit]
  14. def checkSimplifiedTypeShape[F[_], G[_]](a: SimplifiedType[G], b: SimplifiedType[G], caret: Caret)(implicit arg0: Parallel[F], F: MonadError[F, NonEmptyChain[PositionalError]], L: Local[F, Prep]): F[Unit]
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  16. def collectFieldInfo[F[_], G[_]](af: AbstractField[G, _], f: Field, caret: Caret, variableMap: VariableMap, fragments: Map[String, Pos[FragmentDefinition]], discoveryState: DiscoveryState[G])(implicit arg0: Parallel[F], G: Applicative[G], L: Local[F, Prep], F: MonadError[F, NonEmptyChain[PositionalError]], D: Defer[F]): F[FieldInfo[G]]
  17. def collectFields[G[_]](step: Step[G, _, _]): Chain[Arg[Any]]
  18. def collectSelectionInfo[F[_], G[_]](s: Selectable[G, _], ss: SelectionSet, variableMap: VariableMap, fragments: Map[String, Pos[FragmentDefinition]], discoveryState: DiscoveryState[G])(implicit arg0: Parallel[F], G: Applicative[G], L: Local[F, Prep], F: MonadError[F, NonEmptyChain[PositionalError]], D: Defer[F]): F[NonEmptyList[SelectionInfo[G]]]
  19. def compareArguments[F[_]](name: String, aa: Arguments, ba: Arguments, caret: Option[Caret])(implicit arg0: Parallel[F], F: MonadError[F, NonEmptyChain[PositionalError]], L: Local[F, Prep]): F[Unit]
  20. def compareValues[F[_]](av: parser.QueryParser.Value, bv: parser.QueryParser.Value, caret: Option[Caret])(implicit arg0: Parallel[F], F: MonadError[F, NonEmptyChain[PositionalError]], L: Local[F, Prep]): F[Unit]
  21. def compileStep[F[_], G[_], I, O](step: Step[G, I, O], cursor: UniqueEdgeCursor, meta: PreparedMeta)(implicit arg0: Parallel[F], L: Local[F, Prep], F: MonadError[F, NonEmptyChain[PositionalError]]): Used[F, PreparedStep[G, I, O]]
  22. def decodeFieldArgs[F[_], G[_], A](a: Arg[A], args: Option[Arguments], variableMap: VariableMap)(implicit arg0: Parallel[F], L: Local[F, Prep], F: MonadError[F, NonEmptyChain[PositionalError]]): F[A]
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  25. def fieldName[G[_]](f: FieldInfo[G]): String
  26. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  27. def findImplementations[G[_]](s: Selectable[G, _], discoveryState: DiscoveryState[G]): List[(Type[G, _], Option[Function1[_, Option[_]]])]
  28. def findImplementations2[G[_], A](s: Selectable[G, A], discoveryState: DiscoveryState[G]): List[FoundImplementation[G, A, _]]
  29. def friendlyName[G[_], A](ot: Out[G, A], inOption: Boolean = false): String
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def getOperationDefinition[F[_]](ops: List[Pos[OperationDefinition]], operationName: Option[String])(implicit F: MonadError[F, (String, List[Caret])]): F[OperationDefinition]
  32. def getSimplifiedTypeString[G[_]](st: SimplifiedType[G], inOption: Boolean = false): String
  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def inFragment[F[_], A](fragmentName: String, fragments: Map[String, Pos[FragmentDefinition]], caret: Option[Caret])(faf: (Pos[FragmentDefinition]) => F[A])(implicit L: Local[F, Prep], F: MonadError[F, NonEmptyChain[PositionalError]], D: Defer[F]): F[A]
  35. def inName[A](in: In[A], inOption: Boolean = false): String
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def matchType[F[_], G[_]](name: String, sel: Selectable[G, _], caret: Caret, discoveryState: DiscoveryState[G])(implicit F: MonadError[F, NonEmptyChain[PositionalError]], L: Local[F, Prep]): F[Selectable[G, _]]
  38. def mergeImplementations2[F[_], G[_], A](base: Selectable[G, A], sels: NonEmptyList[SelectionInfo[G]], discoveryState: DiscoveryState[G])(implicit arg0: Parallel[F], F: MonadError[F, NonEmptyChain[PositionalError]], L: Local[F, Prep]): F[NonEmptyList[MergedImplementation2[G, A, _]]]
  39. def modifyError[F[_], A](f: (PositionalError) => PositionalError)(fa: F[A])(implicit F: MonadError[F, NonEmptyChain[PositionalError]]): F[A]
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. def operationType(od: OperationDefinition): OperationType
  44. def pValueName(v: parser.QueryParser.Value): String
  45. def parseArg[F[_], A](arg: Arg[A], input: Map[String, parser.QueryParser.Value], variableMap: Option[VariableMap], ambigiousEnum: Boolean)(implicit arg0: Parallel[F], F: MonadError[F, NonEmptyChain[PositionalError]], L: Local[F, Prep]): F[A]
  46. def parseArgValue[F[_], A](a: ArgValue[A], input: Map[String, parser.QueryParser.Value], variableMap: Option[VariableMap], ambigiousEnum: Boolean)(implicit arg0: Parallel[F], F: MonadError[F, NonEmptyChain[PositionalError]], L: Local[F, Prep]): F[ArgParam[A]]
  47. def parseInput[F[_], A](v: parser.QueryParser.Value, tpe: In[A], variableMap: Option[VariableMap], ambigiousEnum: Boolean)(implicit arg0: Parallel[F], F: MonadError[F, NonEmptyChain[PositionalError]], L: Local[F, Prep]): F[A]
  48. def parseInputObj[F[_], A](v: ObjectValue, fields: Arg[A], variableMap: Option[VariableMap], ambigiousEnum: Boolean)(implicit arg0: Parallel[F], F: MonadError[F, NonEmptyChain[PositionalError]], L: Local[F, Prep]): F[A]
  49. def parserValueToValue[F[_]](v: parser.QueryParser.Value)(implicit arg0: Parallel[F], F: MonadError[F, NonEmptyChain[PositionalError]], L: Local[F, Prep]): F[Value]
  50. def prepare[F[_], Q, M, S](executabels: NonEmptyList[ExecutableDefinition], schema: Schema[F, Q, M, S], variableMap: Map[String, Json], operationName: Option[String])(implicit arg0: Applicative[F]): EitherNec[PositionalError, PrepResult[F, Q, M, S]]
  51. def prepareField2[F[_], G[_], I, T](fi: FieldInfo[G], field: Field[G, I, T], currentTypename: String, variableMap: VariableMap, discoveryState: DiscoveryState[G])(implicit arg0: Parallel[F], arg1: Applicative[G], L: Local[F, Prep], F: MonadError[F, NonEmptyChain[PositionalError]], D: Defer[F]): F[PreparedDataField[G, I]]
  52. def prepareParts[F[_], G[_], Q, M, S](op: OperationDefinition, frags: List[Pos[FragmentDefinition]], schema: Schema[G, Q, M, S], variableMap: Map[String, Json])(implicit arg0: Parallel[F], arg1: Applicative[G], L: Local[F, Prep], F: MonadError[F, NonEmptyChain[PositionalError]], D: Defer[F]): F[PrepResult[G, Q, M, S]]
  53. def prepareSelectable2[F[_], G[_], A](s: Selectable[G, A], sis: NonEmptyList[SelectionInfo[G]], variableMap: VariableMap, discoveryState: DiscoveryState[G])(implicit arg0: Parallel[F], G: Applicative[G], L: Local[F, Prep], F: MonadError[F, NonEmptyChain[PositionalError]], D: Defer[F]): F[NonEmptyList[PreparedSpecification[G, A, _]]]
  54. def prepareSelectableRoot[F[_], G[_], A](s: Selectable[G, A], ss: SelectionSet, variableMap: VariableMap, fragments: Map[String, Pos[FragmentDefinition]], discoveryState: DiscoveryState[G])(implicit arg0: Parallel[F], G: Applicative[G], L: Local[F, Prep], F: MonadError[F, NonEmptyChain[PositionalError]], D: Defer[F]): F[NonEmptyList[PreparedSpecification[G, A, _]]]
  55. def raise[F[_], A](s: String, caret: Option[Caret])(implicit L: Local[F, Prep], F: MonadError[F, NonEmptyChain[PositionalError]]): F[A]
  56. def raiseEither[F[_], A](e: Either[String, A], caret: Option[Caret])(implicit L: Local[F, Prep], F: MonadError[F, NonEmptyChain[PositionalError]]): F[A]
  57. def raiseOpt[F[_], A](o: Option[A], s: String, caret: Option[Caret])(implicit L: Local[F, Prep], F: MonadError[F, NonEmptyChain[PositionalError]]): F[A]
  58. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  59. def toString(): String
    Definition Classes
    AnyRef → Any
  60. def typenameField[G[_], A](typename: String): Field[G, A, String]
  61. def underlyingOutputTypename[G[_]](ot: Out[G, _]): String
  62. def valueToParserValue(v: Value): parser.QueryParser.Value
  63. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  64. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  65. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  66. object FieldInfo extends Serializable
  67. object Prep extends Serializable
  68. object PrepCursor extends Serializable
  69. object PrepResult
  70. object PreparedStep
  71. object SimplifiedType
  72. object UniqueEdgeCursor extends Serializable
  73. object Used

Inherited from AnyRef

Inherited from Any

Ungrouped