AbstractQuery

org.squeryl.dsl.AbstractQuery
abstract class AbstractQuery[R](val isRoot: Boolean, val unions: List[(String, Query[R])]) extends Query[R]

Attributes

Source
AbstractQuery.scala
Graph
Supertypes
trait Query[R]
trait Queryable[R]
class Object
trait Matchable
class Any
Known subtypes
class Query1[T1, R]
class Query10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R]
class Query11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R]
class Query12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R]
class Query13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R]
class Query14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R]
class Query15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R]
class Query16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R]
class Query17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R]
class Query18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R]
class Query19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R]
class Query2[T1, T2, R]
class Query20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R]
class Query21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R]
class Query22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R]
class Query3[T1, T2, T3, R]
class Query4[T1, T2, T3, T4, R]
class Query5[T1, T2, T3, T4, T5, R]
class Query6[T1, T2, T3, T4, T5, T6, R]
class Query7[T1, T2, T3, T4, T5, T6, T7, R]
class Query8[T1, T2, T3, T4, T5, T6, T7, T8, R]
class Query9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]
Show all

Members list

Type members

Classlikes

protected class SubQueryable[U](val queryable: Queryable[U], val sample: U, val resultSetMapper: ResultSetMapper, val isQuery: Boolean, val node: QueryableExpressionNode)

Attributes

Source
AbstractQuery.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Abstract methods

Attributes

Source
AbstractQuery.scala
def createCopy(asRoot: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R]

Attributes

Source
AbstractQuery.scala

Concrete methods

protected def buildAst(qy: QueryYield[R], subQueryables: SubQueryable[_]*): QueryExpressionNode[R]

Attributes

Source
AbstractQuery.scala
def copy(asRoot: Boolean, newUnions: List[(String, Query[R])]): AbstractQuery[R]

Attributes

Source
AbstractQuery.scala
protected def copyUnions(u: List[(String, Query[R])]): List[(String, Query[R])]

Attributes

Source
AbstractQuery.scala
protected def createSubQueryable[U](q: Queryable[U]): SubQueryable[U]

Attributes

Source
AbstractQuery.scala
def distinct: Query[R]

Attributes

Source
AbstractQuery.scala
def dumpAst: String

Attributes

Source
AbstractQuery.scala
def except(q: Query[R]): Query[R]

Attributes

Source
AbstractQuery.scala
def exceptAll(q: Query[R]): Query[R]

Attributes

Source
AbstractQuery.scala
def forUpdate: Query[R]

Attributes

Source
AbstractQuery.scala
def give(rsm: ResultSetMapper, rs: ResultSet): R

Attributes

Source
AbstractQuery.scala
def intersect(q: Query[R]): Query[R]

Attributes

Source
AbstractQuery.scala
def intersectAll(q: Query[R]): Query[R]

Attributes

Source
AbstractQuery.scala
def iterator: Iterator[R]

Attributes

Source
AbstractQuery.scala
def page(offset: Int, pageLength: Int): Query[R]

Attributes

Source
AbstractQuery.scala
def statement: String

returns a 'pretty' statement, i.e. values are printed instead of '?'

returns a 'pretty' statement, i.e. values are printed instead of '?'

Attributes

Source
AbstractQuery.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
AbstractQuery.scala
def union(q: Query[R]): Query[R]

Attributes

Source
AbstractQuery.scala
def unionAll(q: Query[R]): Query[R]

Attributes

Source
AbstractQuery.scala

Inherited methods

def headOption: Option[R]

Attributes

Inherited from:
Query
Source
Query.scala
def single: R

Returns the first row of the query. An exception will be thrown if the query returns no row or more than one row.

Returns the first row of the query. An exception will be thrown if the query returns no row or more than one row.

Attributes

Inherited from:
Query
Source
Query.scala
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.

Attributes

Inherited from:
Query
Source
Query.scala
def where(whereClauseFunctor: R => LogicalBoolean)(implicit dsl: QueryDsl): Query[T]

Attributes

Inherited from:
Queryable
Source
Queryable.scala

Concrete fields

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

Attributes

Source
AbstractQuery.scala
val isRoot: Boolean

Attributes

Source
AbstractQuery.scala
val name: String

Attributes

Source
AbstractQuery.scala