object Query

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

Type Members

  1. case class Binding(name: String, value: Value) extends Product with Serializable
  2. case class Component[F[_]](mapping: Mapping[F], join: (Query, Cursor) => Result[Query], child: Query) extends Query with Product with Serializable

    Identifies a component boundary.

    Identifies a component boundary. join is applied to the current cursor and child yielding a continuation query which will be evaluated by the interpreter identified by componentId.

  3. case class Count(name: String, child: Query) extends Query with Product with Serializable

    Computes the number of top-level elements of child as field name

  4. case class Effect[F[_]](handler: EffectHandler[F], child: Query) extends Query with Product with Serializable

    Embeds possibly batched effects.

    Embeds possibly batched effects. handler is applied to one or more possibly batched queries and cursors yielding corresponding continuation queries and cursors which will be evaluated by the current interpreter in the next phase.

  5. trait EffectHandler[F[_]] extends AnyRef
  6. case class Environment(env: Env, child: Query) extends Query with Product with Serializable

    Add env to the environment for the continuation child

  7. case class Filter(pred: Predicate, child: Query) extends Query with Product with Serializable

    Retains only elements satisfying pred and continues with child

  8. case class Group(queries: List[Query]) extends Query with Product with Serializable

    A Group of sibling queries at the same level

  9. case class Introspect(schema: Schema, child: Query) extends Query with Product with Serializable

    Evaluates an introspection query relative to schema

  10. case class Limit(num: Int, child: Query) extends Query with Product with Serializable

    Limits the results of list-producing continuation child to num elements

  11. case class Narrow(subtpe: TypeRef, child: Query) extends Query with Product with Serializable

    The result of child if the focus is of type subtpe, Empty otherwise.

  12. case class Offset(num: Int, child: Query) extends Query with Product with Serializable

    Drops the first num elements of list-producing continuation child.

  13. case class OrderBy(selections: OrderSelections, child: Query) extends Query with Product with Serializable

    Orders the results of list-producing continuation child by fields specified by selections.

  14. case class OrderSelection[T](term: Term[T], ascending: Boolean = true, nullsLast: Boolean = true)(implicit evidence$1: Order[T]) extends Product with Serializable
  15. case class OrderSelections(selections: List[OrderSelection[_]]) extends Product with Serializable
  16. case class Rename(name: String, child: Query) extends Query with Product with Serializable

    Rename the topmost field of sel to name.

  17. case class Select(name: String, args: List[Binding], child: Query = Empty) extends Query with Product with Serializable

    Select field name given arguments args and continue with child

  18. case class Skip(sense: Boolean, cond: Value, child: Query) extends Query with Product with Serializable

    Skips/includes the continuation child depending on the value of cond

  19. case class TransformCursor(f: (Cursor) => Result[Cursor], child: Query) extends Query with Product with Serializable

    Uses the supplied function to compute a continuation Cursor from the current Cursor.

  20. case class Unique(child: Query) extends Query with Product with Serializable

    Continues with single-element-list-producing child and yields the single element

  21. case class UntypedNarrow(tpnme: String, child: Query) extends Query with Product with Serializable

    Untyped precursor of Narrow.

    Untyped precursor of Narrow.

    Trees of this type will be replaced by a corresponding Narrow by SelectElaborator.

  22. case class UntypedVarDef(name: String, tpe: Ast.Type, default: Option[Value]) extends Product with Serializable
  23. type UntypedVarDefs = List[UntypedVarDef]
  24. type VarDefs = List[InputValue]
  25. type Vars = Map[String, (Type, Value)]
  26. case class Wrap(name: String, child: Query) extends Query with Product with Serializable

    Wraps the result of child as a field named name of an enclosing object.

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 children(q: Query): List[Query]

    Returns the top-level field selections of the supplied query.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def fieldAlias(query: Query, fieldName: String): Option[String]

    Returns the alias, if any, of the top-level field fieldName in the supplied query.

  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hasField(query: Query, fieldName: String): Boolean

    True if fieldName is a top-level selection of the supplied query, false otherwise.

  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def mapFields(query: Query)(f: (Query) => Result[Query]): Result[Query]

    Tranform the children of query using the supplied function.

  15. def mergeQueries(qs: List[Query]): Query

    Merge the given queries as a single query

  16. def mkPathQuery(paths: List[List[String]]): List[Query]

    Construct a query which yields all the supplied paths

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def renameRoot(q: Query, rootName: String): Option[Query]
  21. def rootName(q: Query): Option[(String, Option[String])]

    Computes the root name and optional alias of the supplied query if it is unique, None otherwise.

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def ungroup(query: Query): List[Query]

    Yields a list of the top level queries of the supplied, possibly grouped query.

  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()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. case object Empty extends Query with Product with Serializable

    The terminal query

  29. object FilterOrderByOffsetLimit

    Constructor/extractor for nested Filter/OrderBy/Limit/Offset patterns in the query algebra

  30. object PossiblyRenamedSelect

    Extractor for nested Rename/Select patterns in the query algebra

    Extractor for nested Rename/Select patterns in the query algebra

    PossiblyRenamedSelect is an extractor/constructor for a Select node possibly wrapped in a Rename node so that they can be handled together conveniently.

  31. case object Skipped extends Query with Product with Serializable

    A placeholder for a skipped node

  32. object TypeCase

    Extractor for grouped Narrow patterns in the query algebra

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped