sealed trait MappedQuery extends AnyRef
Represents the mapping of a GraphQL query to an SQL query
- Source
- SqlMapping.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- MappedQuery
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def containsRoot(fieldName: String, resultName: Option[String]): Boolean
Does this query contain a root with the given possibly aliased name
- abstract def count(context: Context, table: Table): Int
Return the number of subobjects of the context type contained in
table
. - abstract def fetch: F[Result[Table]]
Execute this query in
F
- abstract def fragment: Result[SqlMappingLike.Fragment]
The query rendered as a
Fragment
with all table and column aliases applied - abstract def group(context: Context, table: Table): Iterator[Table]
Yield a list of
Tables
one for each of the subobjects of the context type contained intable
. - abstract def narrow(narrowedContext: Context, table: Table): Table
Yield a
Table
containing only subojects of thenarrowedContext
type - abstract def narrowsTo(narrowedContext: Context, table: Table): Boolean
Does
table
contain subobjects of the type of thenarrowedContext
type - abstract def selectAtomicField(context: Context, fieldName: String, table: Table): Result[Any]
Return the value of the field
fieldName
incontext
fromtable
Concrete 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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()