class Query2[T1, T2, R] extends AbstractQuery[R]
- Source
- Query1.scala
- Alphabetic
- By Inheritance
- Query2
- AbstractQuery
- Query
- Queryable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Query2(t1: Queryable[T1], t2: Queryable[T2], f: (T1, T2) => QueryYield[R], isRoot: Boolean, unions: List[(String, Query[R])])
Type Members
- class SubQueryable[U] extends AnyRef
- Attributes
- protected
- Definition Classes
- AbstractQuery
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
- val ast: QueryExpressionNode[R]
- Definition Classes
- Query2 → AbstractQuery → Query
- def buildAst(qy: QueryYield[R], subQueryables: SubQueryable[_]*): QueryExpressionNode[R]
- Attributes
- protected
- Definition Classes
- AbstractQuery
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def copy(asRoot: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R]
- Definition Classes
- AbstractQuery → Query
- def copyUnions(u: List[(String, Query[R])]): List[(String, Query[R])]
- Attributes
- protected
- Definition Classes
- AbstractQuery
- def createCopy(root: Boolean, newUnions: List[(String, Query[R])]): Query2[T1, T2, R]
- Definition Classes
- Query2 → AbstractQuery
- def createSubQueryable[U](q: Queryable[U]): SubQueryable[U]
- Attributes
- protected
- Definition Classes
- AbstractQuery
- val definitionSite: Option[StackTraceElement]
Builds the AST tree of the this Query, *some state mutation of the AST nodes occurs during AST construction, for example, the parent child relationship is set by this method, unique IDs of node that needs them for example.
Builds the AST tree of the this Query, *some state mutation of the AST nodes occurs during AST construction, for example, the parent child relationship is set by this method, unique IDs of node that needs them for example.
After this call, the query (and it's AST) becomes immutable by virtue of the unaccessibility of it's public methods
- Definition Classes
- AbstractQuery
- def distinct: AbstractQuery[R]
- Definition Classes
- AbstractQuery → Query
- def dumpAst: String
- Definition Classes
- AbstractQuery → Query
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def except(q: Query[R]): Query[R]
- Definition Classes
- AbstractQuery → Query
- def exceptAll(q: Query[R]): Query[R]
- Definition Classes
- AbstractQuery → Query
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def forUpdate: AbstractQuery[R]
- Definition Classes
- AbstractQuery → Query
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def give(rsm: ResultSetMapper, rs: ResultSet): R
- Definition Classes
- AbstractQuery → Queryable
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def headOption: Option[R]
- Definition Classes
- Query
- def intersect(q: Query[R]): Query[R]
- Definition Classes
- AbstractQuery → Query
- def intersectAll(q: Query[R]): Query[R]
- Definition Classes
- AbstractQuery → Query
- def invokeYield(rsm: ResultSetMapper, rs: ResultSet): R
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isRoot: Boolean
- Definition Classes
- AbstractQuery
- def iterator: Iterator[R] with Closeable
- Definition Classes
- AbstractQuery → Query
- val name: String
- Definition Classes
- AbstractQuery → Queryable
- 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()
- def page(offset: Int, pageLength: Int): Query[R]
- Definition Classes
- AbstractQuery → Query
- val resultSetMapper: ResultSetMapper
- Definition Classes
- AbstractQuery
- def single: R
Returns the first row of the query.
Returns the first row of the query. An exception will be thrown if the query returns no row or more than one row.
- Definition Classes
- Query
- def singleOption: Option[R]
Returns Some(singleRow), None if there are none, throws an exception if the query returns more than one row.
Returns Some(singleRow), None if there are none, throws an exception if the query returns more than one row.
- Definition Classes
- Query
- val sq1: SubQueryable[T1]
- val sq2: SubQueryable[T2]
- def statement: String
returns a 'pretty' statement, i.e.
returns a 'pretty' statement, i.e. values are printed instead of '?'
- Definition Classes
- AbstractQuery → Query
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AbstractQuery → AnyRef → Any
- def union(q: Query[R]): Query[R]
- Definition Classes
- AbstractQuery → Query
- def unionAll(q: Query[R]): Query[R]
- Definition Classes
- AbstractQuery → Query
- 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()
- def where(whereClauseFunctor: (R) => LogicalBoolean)(implicit dsl: QueryDsl): Query[R]
- Definition Classes
- Queryable