object Query
- Alphabetic
- By Inheritance
- Query
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class Binding(name: String, value: Value) extends Product with Serializable
- case class Component[F[_]](mapping: Mapping[F], join: (Cursor, Query) => 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 andchild
yielding a continuation query which will be evaluated by the interpreter identified bycomponentId
. - case class Defer(join: (Cursor, Query) => Result[Query], child: Query, rootTpe: Type) extends Query with Product with Serializable
A deferred query.
A deferred query.
join
is applied to the current cursor andchild
yielding a continuation query which will be evaluated by the current interpreter in its next stage. - case class Environment(env: Env, child: Query) extends Query with Product with Serializable
Add
env
to the environment for the continuationchild
- case class Filter(pred: Predicate, child: Query) extends Query with Product with Serializable
Retains only elements satisfying
pred
and continues withchild
- case class Group(queries: List[Query]) extends Query with Product with Serializable
A Group of sibling queries at the same level
- case class GroupList(queries: List[Query]) extends Query with Product with Serializable
A Group of sibling queries as a list
- case class Introspect(schema: Schema, child: Query) extends Query with Product with Serializable
Evaluates an introspection query relative to
schema
- case class Limit(num: Int, child: Query) extends Query with Product with Serializable
Limits the results of list-producing continuation
child
tonum
elements - case class Narrow(subtpe: TypeRef, child: Query) extends Query with Product with Serializable
The result of
child
if the focus is of typesubtpe
,Empty
otherwise. - case class OrderBy(selections: OrderSelections, child: Query) extends Query with Product with Serializable
Orders the results of list-producing continuation
child
by fields specified byselections
. - case class OrderSelection[T](term: Term[T], ascending: Boolean = true, nullsLast: Boolean = true)(implicit evidence$1: Order[T]) extends Product with Serializable
- case class OrderSelections(selections: List[OrderSelection[_]]) extends Product with Serializable
- case class Rename(name: String, child: Query) extends Query with Product with Serializable
Rename the topmost field of
sel
toname
. - case class Select(name: String, args: List[Binding], child: Query = Empty) extends Query with Product with Serializable
Select field
name
given argumentsargs
and continue withchild
- case class Skip(sense: Boolean, cond: Value, child: Query) extends Query with Product with Serializable
Skips/includes the continuation
child
depending on the value ofcond
- case class Unique(child: Query) extends Query with Product with Serializable
Continues with single-element-list-producing
child
and yields the single element - 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
bySelectElaborator
. - case class UntypedVarDef(name: String, tpe: Ast.Type, default: Option[Value]) extends Product with Serializable
- type UntypedVarDefs = List[UntypedVarDef]
- type VarDefs = List[InputValue]
- type Vars = Map[String, (Type, Value)]
- case class Wrap(name: String, child: Query) extends Query with Product with Serializable
Wraps the result of
child
as a field namedname
of an enclosing object.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mergeQueries(qs: List[Query]): Query
Merge the given queries as a single query
- def mkPathQuery(paths: List[List[String]]): List[Query]
Construct a query which yields all the supplied paths
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def renameRoot(q: Query, rootName: String): Option[Query]
- def rootName(q: Query): Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object Empty extends Query with Product with Serializable
The terminal query
- object FilterOrderByLimit
Extractor for nested Filter/OrderBy/Limit patterns in the query algebra
- object PossiblyRenamedSelect
Extractor for nested Rename/Select patterns in the query algebra
- case object Skipped extends Query with Product with Serializable
A placeholder for a skipped node
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated