Packages

trait QueryAlgebra extends AnyRef

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

Type Members

  1. trait AnyQueryAttribute[G[_], A] extends AnyRef
  2. abstract type Connection[F[_]]
  3. abstract type Decoder[A]
  4. case class Done[G[_], A, B](dec: Decoder[A], reassoc: (List[A]) => Either[String, G[B]]) extends Product with Serializable
  5. type Effect[A] = EitherT[[γ$1$]IndexedStateT[[β$0$]WriterT[[A]A, QueryContent, β$0$], Int, Int, γ$1$], String, A]
  6. sealed trait FieldVariant[Q, A] extends AnyRef
  7. abstract type Frag
  8. trait PDFField[F[_]] extends AnyRef
  9. case class PDFFieldImpl[F[_], G0[_]](field: Field[F, G0, _]) extends PDFField[F] with Product with Serializable
  10. case class PreparedQuery[G[_], A, B, C](qc: QueryContent, done: Done[G, A, B], rootQueryValue: C) extends Product with Serializable
  11. sealed trait Query[G[_], +A] extends AnyRef
  12. case class QueryContent(selections: Chain[Frag], joins: Chain[QueryJoin]) extends Product with Serializable
  13. trait QueryContext[A] extends AnyRef
  14. case class QueryJoin(tbl: Frag, pred: Frag) extends Product with Serializable
  15. type QueryState[G[_], C] = QueryAlgebra.QueryState[Decoder, G, C]
  16. sealed trait QueryTask[F[_], A] extends AnyRef
  17. trait Queryable[F[_]] extends AnyRef
  18. trait Table extends AnyRef
  19. trait TableFieldAttribute[G[_], A, B, ArgType, Q] extends FieldAttribute[Pure] with AnyQueryAttribute[G, B]
  20. trait UnificationQueryAttribute[A, Q, B] extends ImplementationAttribute[Pure] with VariantAttribute[Pure] with AnyQueryAttribute[Option, B]

Abstract Value Members

  1. implicit abstract def applicativeForDecoder: Applicative[Decoder]
  2. implicit abstract def appliedFragmentMonoid: Monoid[Frag]
  3. abstract def optDecoder[A](d: Decoder[A]): Decoder[Option[A]]
  4. abstract def stringToFrag(s: String): Frag

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. val Effect: Monad[Effect]
  5. val QueryStateImpl: QueryAlgebra.QueryStateImpl.type
  6. val R: Raise[Effect, String]
  7. val S: Stateful[Effect, Int]
  8. val T: Tell[Effect, QueryContent]
  9. def addJoin(tbl: Frag, pred: Frag): Effect[Unit]
  10. def addSelection(f: Chain[Frag]): Effect[Unit]
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. def collapseQuery[G[_], C](q: Query[G, C]): Effect[QueryState[G, C]]
  14. def compileNextField[F[_], G[_], A, B, ArgType, Q](pdf: PreparedDataField[F, _, _], a: A, tfa: TableFieldAttribute[G, A, B, ArgType, Q]): Effect[Done[G, _, B]]
  15. def compileNextUnification[F[_], A, Q, B](attr: UnificationQueryAttribute[A, Q, B], a: A, fields: List[PreparedDataField[F, B, _]]): Effect[Done[Option, _, B]]
  16. def compileQueryState[F[_], G[_], B, Q](qs: QueryState[G, Q], variant: FieldVariant[Q, B], nextTasks: Eval[List[QueryTask[F, _]]]): Effect[Done[G, _, B]]
  17. def compileToResolver[F[_], G[_], H[_], I, ArgType, O](toplevelArg: EmptyableArg[ArgType])(compiler: (NonEmptyList[I], ArgType, FieldMeta[F]) => F[Map[I, O]])(implicit arg0: Traverse[H], F: Applicative[F]): Resolver[F, H[I], H[O]]
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def evalQuery[F[_], G[_], I, B, ArgType](xs: NonEmptyList[I], fm: FieldMeta[F], query: Query[G, (Select[I], B)], connection: Connection[F])(implicit F: Applicative[F], queryable: Queryable[F]): F[Map[I, Either[String, G[QueryContext[B]]]]]
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. def findNextSel[F[_], A](p: Prepared[F, A]): Option[Selection[F, _]]
  23. def getArg[F[_], ArgType](pdf: PreparedDataField[F, _, _], a: EmptyableArg[ArgType]): Effect[ArgType]
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def getNextAttributes[F[_], A, B](pdf: PreparedDataField[F, A, B]): List[QueryTask[F, _]]
  26. def getPDFField[F[_], A, B](pdf: PreparedDataField[F, A, B]): Option[PDFField[F]]
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def makeTasks[F[_], A, B](ps: PreparedSpecification[F, A, B]): List[QueryTask[F, _]]
  30. implicit lazy val monoidForQueryContent: Monoid[QueryContent]
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. val nextId: Effect[String]
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. def renderQuery(qc: QueryContent): Frag
  36. def resolveQuery[F[_], G[_], I, B, ArgType](toplevelArg: EmptyableArg[ArgType], q: (NonEmptyList[I], ArgType) => Query[G, (Select[I], B)], connection: Connection[F])(implicit arg0: Queryable[F], arg1: Applicative[F]): Resolver[F, I, G[QueryContext[B]]]
  37. def resolveQueryFull[F[_], G[_], H[_], I, B, ArgType](toplevelArg: EmptyableArg[ArgType], q: (NonEmptyList[I], ArgType) => Query[G, (Select[I], B)], connection: Connection[F])(implicit arg0: Queryable[F], F: Applicative[F], H: Reassociateable[H]): Resolver[F, H[I], H[G[QueryContext[B]]]]
  38. def resolveQuerySingle[F[_], G[_], I, B, ArgType](toplevelArg: EmptyableArg[ArgType], q: (I, ArgType) => Query[G, B], connection: Connection[F])(implicit arg0: Queryable[F], F: Applicative[F]): Resolver[F, I, G[QueryContext[B]]]
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. object FieldVariant
  45. object Query
  46. object QueryTask

Inherited from AnyRef

Inherited from Any

Ungrouped