org.squeryl.dsl

AbstractQuery

class AbstractQuery [R] extends Query[R]

attributes: abstract
linear super types: Query[R], Queryable[R], Iterable[R], IterableLike[R, Iterable[R]], Equals, Traversable[R], GenericTraversableTemplate[R, Iterable], TraversableLike[R, Iterable[R]], TraversableOnce[R], FilterMonadic[R, Iterable[R]], HasNewBuilder[R, Iterable[R]], AnyRef, Any
known subclasses: Query10, Query9, Query8, Query7, Query6, Query5, Query4, Query3, Query2, Query1
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. AbstractQuery
  2. Query
  3. Queryable
  4. Iterable
  5. IterableLike
  6. Equals
  7. Traversable
  8. GenericTraversableTemplate
  9. TraversableLike
  10. TraversableOnce
  11. FilterMonadic
  12. HasNewBuilder
  13. AnyRef
  14. Any
Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Instance constructors

  1. new AbstractQuery (isRoot: Boolean)

Type Members

  1. type Self = Iterable[R]

    attributes: protected
    definition classes: TraversableLike
  2. class SubQueryable [U] extends AnyRef

    attributes: protected

Value Members

  1. def != (arg0: AnyRef) : Boolean

    attributes: final
    definition classes: AnyRef
  2. def != (arg0: Any) : Boolean

    o != arg0 is the same as !(o == (arg0)).

    o != arg0 is the same as !(o == (arg0)).

    arg0

    the object to compare against this object for dis-equality.

    returns

    false if the receiver object is equivalent to the argument; true otherwise.

    attributes: final
    definition classes: Any
  3. def ## () : Int

    attributes: final
    definition classes: AnyRef → Any
  4. def $asInstanceOf [T0] () : T0

    attributes: final
    definition classes: AnyRef
  5. def $isInstanceOf [T0] () : Boolean

    attributes: final
    definition classes: AnyRef
  6. def ++ [B >: A, That] (that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[R], B, That]) : That

    definition classes: TraversableLike
  7. def /: [B] (z: B)(op: (B, R) ⇒ B) : B

    definition classes: TraversableOnce
  8. def :\ [B] (z: B)(op: (R, B) ⇒ B) : B

    definition classes: TraversableOnce
  9. def == (arg0: AnyRef) : Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    attributes: final
    definition classes: AnyRef
  10. def == (arg0: Any) : Boolean

    o == arg0 is the same as o.equals(arg0).

    o == arg0 is the same as o.equals(arg0).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    attributes: final
    definition classes: Any
  11. def addString (b: StringBuilder) : StringBuilder

    definition classes: TraversableOnce
  12. def addString (b: StringBuilder, sep: String) : StringBuilder

    definition classes: TraversableOnce
  13. def addString (b: StringBuilder, start: String, sep: String, end: String) : StringBuilder

    definition classes: TraversableOnce
  14. def asInstanceOf [T0] : T0

    This method is used to cast the receiver object to be of type T0.

    This method is used to cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expressionList(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed.

    returns

    the receiver object.

    attributes: final
    definition classes: Any
  15. def ast : QueryExpressionNode[R]

    attributes: abstract
    definition classes: AbstractQueryQuery
  16. def buildAst (qy: QueryYield[R], subQueryables: AbstractQuery.this.SubQueryable[_]*) : QueryExpressionNode[R]

    attributes: protected
  17. def canEqual (that: Any) : Boolean

    definition classes: IterableLike → Equals
  18. def clone () : AnyRef

    This method creates and returns a copy of the receiver object.

    This method creates and returns a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    attributes: protected
    definition classes: AnyRef
  19. def collect [B, That] (pf: PartialFunction[R, B])(implicit bf: CanBuildFrom[Iterable[R], B, That]) : That

    definition classes: TraversableLike
  20. def companion : GenericCompanion[Iterable]

    definition classes: Iterable → Traversable → GenericTraversableTemplate
  21. def copy (asRoot: Boolean) : AbstractQuery[R]

    definition classes: AbstractQueryQuery
  22. def copyToArray [B >: A] (xs: Array[B], start: Int, len: Int) : Unit

    definition classes: IterableLike → TraversableLike → TraversableOnce
  23. def copyToArray [B >: A] (xs: Array[B]) : Unit

    definition classes: TraversableOnce
  24. def copyToArray [B >: A] (xs: Array[B], start: Int) : Unit

    definition classes: TraversableOnce
  25. def copyToBuffer [B >: A] (dest: Buffer[B]) : Unit

    definition classes: TraversableOnce
  26. def count (p: (R) ⇒ Boolean) : Int

    definition classes: TraversableOnce
  27. def createCopy (asRoot: Boolean) : AbstractQuery[R]

    attributes: abstract
  28. def createSubQueryable [U] (q: Queryable[U]) : SubQueryable[U]

    attributes: protected
  29. 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

  30. def distinct : AbstractQuery[R]

    definition classes: AbstractQueryQuery
  31. def drop (n: Int) : Iterable[R]

    definition classes: TraversableLike
  32. def dropRight (n: Int) : Iterable[R]

    definition classes: IterableLike
  33. def dropWhile (p: (R) ⇒ Boolean) : Iterable[R]

    definition classes: TraversableLike
  34. def dumpAst : String

    definition classes: AbstractQueryQuery
  35. def elements : Iterator[R]

    definition classes: IterableLike
      deprecated:
    1. use iterator' instead

  36. def eq (arg0: AnyRef) : Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

    The eq method implements an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation] on non-null instances of AnyRef: * It is reflexive: for any non-null instance x of type AnyRef, x.eq(x) returns true. * It is symmetric: for any non-null instances x and y of type AnyRef, x.eq(y) returns true if and only if y.eq(x) returns true. * It is transitive: for any non-null instances x, y, and z of type AnyRef if x.eq(y) returns true and y.eq(z) returns true, then x.eq(z) returns true.

    Additionally, the eq method has three other properties. * It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false. * For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false. * null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    arg0

    the object to compare against this object for reference equality.

    returns

    true if the argument is a reference to the receiver object; false otherwise.

    attributes: final
    definition classes: AnyRef
  37. def equals (arg0: Any) : Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    The default implementations of this method is an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation]: * It is reflexive: for any instance x of type Any, x.equals(x) should return true. * It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true. * It is transitive: for any instances x, y, and z of type AnyRef if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

    If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is often necessary to override hashCode to ensure that objects that are "equal" (o1.equals(o2) returns true) hash to the same scala.Int (o1.hashCode.equals(o2.hashCode)).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    definition classes: AnyRef → Any
  38. def exists (p: (R) ⇒ Boolean) : Boolean

    definition classes: IterableLike → TraversableLike → TraversableOnce
  39. def filter (p: (R) ⇒ Boolean) : Iterable[R]

    definition classes: TraversableLike
  40. def filterNot (p: (R) ⇒ Boolean) : Iterable[R]

    definition classes: TraversableLike
  41. def finalize () : Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

    The details of when and if the finalize method are invoked, as well as the interaction between finalizeand non-local returns and exceptions, are all platform dependent.

    attributes: protected
    definition classes: AnyRef
  42. def find (p: (R) ⇒ Boolean) : Option[R]

    definition classes: IterableLike → TraversableLike → TraversableOnce
  43. def first : R

    definition classes: IterableLike
      deprecated:
    1. use head' instead

  44. def firstOption : Option[R]

    definition classes: IterableLike
      deprecated:
    1. use headOption' instead

  45. def flatMap [B, That] (f: (R) ⇒ Traversable[B])(implicit bf: CanBuildFrom[Iterable[R], B, That]) : That

    definition classes: TraversableLike → FilterMonadic
  46. def flatten [B] (implicit asTraversable: (R) ⇒ Traversable[B]) : Iterable[B]

    definition classes: GenericTraversableTemplate
  47. def foldLeft [B] (z: B)(op: (B, R) ⇒ B) : B

    definition classes: TraversableOnce
  48. def foldRight [B] (z: B)(op: (R, B) ⇒ B) : B

    definition classes: IterableLike → TraversableOnce
  49. def forUpdate : AbstractQuery[R]

    definition classes: AbstractQueryQuery
  50. def forall (p: (R) ⇒ Boolean) : Boolean

    definition classes: IterableLike → TraversableLike → TraversableOnce
  51. def foreach [U] (f: (R) ⇒ U) : Unit

    definition classes: IterableLike → TraversableLike → TraversableOnce → FilterMonadic
  52. def genericBuilder [B] : Builder[B, Iterable[B]]

    definition classes: GenericTraversableTemplate
  53. def getClass () : java.lang.Class[_]

    Returns a representation that corresponds to the dynamic class of the receiver object.

    Returns a representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

    a representation that corresponds to the dynamic class of the receiver object.

    attributes: final
    definition classes: AnyRef
  54. def give (rsm: ResultSetMapper, rs: ResultSet) : R

    definition classes: AbstractQueryQueryable
  55. def groupBy [K] (f: (R) ⇒ K) : Map[K, Iterable[R]]

    definition classes: TraversableLike
  56. def grouped (size: Int) : Iterator[Iterable[R]]

    definition classes: IterableLike
  57. def hasDefiniteSize : Boolean

    definition classes: TraversableLike → TraversableOnce
  58. def hashCode () : Int

    Returns a hash code value for the object.

    Returns a hash code value for the object.

    The default hashing algorithm is platform dependent.

    Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

    returns

    the hash code value for the object.

    definition classes: AnyRef → Any
  59. def head : R

    definition classes: IterableLike → TraversableLike
  60. def headOption : Option[R]

    definition classes: Query → TraversableLike
  61. def init : Iterable[R]

    definition classes: TraversableLike
  62. def invokeYield (rsm: ResultSetMapper, resultSet: ResultSet) : R

    attributes: protected[squeryl] abstract
    definition classes: Query
  63. def isEmpty : Boolean

    definition classes: IterableLike → TraversableLike → TraversableOnce
  64. def isInstanceOf [T0] : Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

    This method is used to test whether the dynamic type of the receiver object is T0.

    Note that the test result of the test is modulo Scala's erasure semantics. Therefore the expression1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    attributes: final
    definition classes: Any
  65. val isRoot : Boolean

  66. def isTraversableAgain : Boolean

    attributes: final
    definition classes: TraversableLike → TraversableOnce
  67. def iterator : Iterator[R] with Closeable

    definition classes: AbstractQuery → IterableLike
  68. def last : R

    definition classes: TraversableLike
  69. def lastOption : Option[R]

    definition classes: TraversableLike
  70. def map [B, That] (f: (R) ⇒ B)(implicit bf: CanBuildFrom[Iterable[R], B, That]) : That

    definition classes: TraversableLike → FilterMonadic
  71. def max [B >: A] (implicit cmp: Ordering[B]) : R

    definition classes: TraversableOnce
  72. def min [B >: A] (implicit cmp: Ordering[B]) : R

    definition classes: TraversableOnce
  73. def minus (q: Query[R]) : Query[R]

    definition classes: Query
  74. def mkString : String

    definition classes: TraversableOnce
  75. def mkString (sep: String) : String

    definition classes: TraversableOnce
  76. def mkString (start: String, sep: String, end: String) : String

    definition classes: TraversableOnce
  77. val name : String

    definition classes: AbstractQueryQueryable
  78. def ne (arg0: AnyRef) : Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

    o.ne(arg0) is the same as !(o.eq(arg0)).

    arg0

    the object to compare against this object for reference dis-equality.

    returns

    false if the argument is not a reference to the receiver object; true otherwise.

    attributes: final
    definition classes: AnyRef
  79. def newBuilder : Builder[R, Iterable[R]]

    attributes: protected[this]
    definition classes: GenericTraversableTemplate → HasNewBuilder
  80. def nonEmpty : Boolean

    definition classes: TraversableOnce
  81. def notify () : Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    attributes: final
    definition classes: AnyRef
  82. def notifyAll () : Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    attributes: final
    definition classes: AnyRef
  83. def page (offset: Int, pageLength: Int) : Query[R]

    definition classes: AbstractQueryQuery
  84. def partition (p: (R) ⇒ Boolean) : (Iterable[R], Iterable[R])

    definition classes: TraversableLike
  85. def product [B >: A] (implicit num: Numeric[B]) : B

    definition classes: TraversableOnce
  86. def projection : IterableView[R, Iterable[R]]

    definition classes: IterableLike
      deprecated:
    1. use view' instead

  87. def reduceLeft [B >: A] (op: (B, R) ⇒ B) : B

    definition classes: TraversableOnce
  88. def reduceLeftOption [B >: A] (op: (B, R) ⇒ B) : Option[B]

    definition classes: TraversableOnce
  89. def reduceRight [B >: A] (op: (R, B) ⇒ B) : B

    definition classes: IterableLike → TraversableOnce
  90. def reduceRightOption [B >: A] (op: (R, B) ⇒ B) : Option[B]

    definition classes: TraversableOnce
  91. def repr : Iterable[R]

    definition classes: TraversableLike
  92. val resultSetMapper : ResultSetMapper

  93. def reversed : List[R]

    attributes: protected[this]
    definition classes: TraversableOnce
  94. def sameElements [B >: A] (that: Iterable[B]) : Boolean

    definition classes: IterableLike
  95. def scanLeft [B, That] (z: B)(op: (B, R) ⇒ B)(implicit bf: CanBuildFrom[Iterable[R], B, That]) : That

    definition classes: TraversableLike
  96. def scanRight [B, That] (z: B)(op: (R, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[R], B, That]) : That

    definition classes: TraversableLike
  97. 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
  98. def size : Int

    definition classes: TraversableOnce
  99. def slice (from: Int, until: Int) : Iterable[R]

    definition classes: IterableLike → TraversableLike
  100. def sliding [B >: A] (size: Int, step: Int) : Iterator[Iterable[R]]

    definition classes: IterableLike
  101. def sliding [B >: A] (size: Int) : Iterator[Iterable[R]]

    definition classes: IterableLike
  102. def span (p: (R) ⇒ Boolean) : (Iterable[R], Iterable[R])

    definition classes: TraversableLike
  103. def splitAt (n: Int) : (Iterable[R], Iterable[R])

    definition classes: TraversableLike
  104. def statement : String

    returns a 'pretty' statement, i.

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

    definition classes: AbstractQueryQuery
  105. def stringPrefix : String

    definition classes: TraversableLike
  106. def sum [B >: A] (implicit num: Numeric[B]) : B

    definition classes: TraversableOnce
  107. def synchronized [T0] (arg0: T0) : T0

    attributes: final
    definition classes: AnyRef
  108. def tail : Iterable[R]

    definition classes: TraversableLike
  109. def take (n: Int) : Iterable[R]

    definition classes: IterableLike → TraversableLike
  110. def takeRight (n: Int) : Iterable[R]

    definition classes: IterableLike
  111. def takeWhile (p: (R) ⇒ Boolean) : Iterable[R]

    definition classes: IterableLike → TraversableLike
  112. def thisCollection : Iterable[R]

    attributes: protected[this]
    definition classes: IterableLike → TraversableLike
  113. def toArray [B >: A] (implicit arg0: ClassManifest[B]) : Array[B]

    definition classes: TraversableOnce
  114. def toBuffer [B >: A] : Buffer[B]

    definition classes: TraversableOnce
  115. def toCollection (repr: Iterable[R]) : Iterable[R]

    attributes: protected[this]
    definition classes: IterableLike → TraversableLike
  116. def toIndexedSeq [B >: A] : IndexedSeq[B]

    definition classes: TraversableOnce
  117. def toIterable : Iterable[R]

    definition classes: IterableLike → TraversableOnce
  118. def toIterator : Iterator[R]

    definition classes: TraversableLike → TraversableOnce
  119. def toList : List[R]

    definition classes: TraversableOnce
  120. def toMap [T, U] (implicit ev: <:<[R, (T, U)]) : Map[T, U]

    definition classes: TraversableOnce
  121. def toSeq : Seq[R]

    definition classes: IterableLike → TraversableOnce
  122. def toSet [B >: A] : Set[B]

    definition classes: TraversableOnce
  123. def toStream : Stream[R]

    definition classes: IterableLike → TraversableLike → TraversableOnce
  124. def toString () : String

    Returns a string representation of the object.

    Returns a string representation of the object.

    The default representation is platform dependent.

    returns

    a string representation of the object.

    definition classes: AbstractQuery → TraversableLike → AnyRef → Any
  125. def toTraversable : Traversable[R]

    definition classes: TraversableLike → TraversableOnce
  126. def transpose [B] (implicit asTraversable: (R) ⇒ Traversable[B]) : Iterable[Iterable[B]]

    definition classes: GenericTraversableTemplate
  127. def union (q: Query[R]) : Query[R]

    definition classes: Query
  128. def unzip [A1, A2] (implicit asPair: (R) ⇒ (A1, A2)) : (Iterable[A1], Iterable[A2])

    definition classes: GenericTraversableTemplate
  129. def view (from: Int, until: Int) : IterableView[R, Iterable[R]]

    definition classes: IterableLike → TraversableLike
  130. def view : IterableView[R, Iterable[R]]

    definition classes: IterableLike → TraversableLike
  131. def wait () : Unit

    attributes: final
    definition classes: AnyRef
  132. def wait (arg0: Long, arg1: Int) : Unit

    attributes: final
    definition classes: AnyRef
  133. def wait (arg0: Long) : Unit

    attributes: final
    definition classes: AnyRef
  134. def where (whereClauseFunctor: (R) ⇒ LogicalBoolean)(implicit dsl: QueryDsl) : Query[R]

    definition classes: Queryable
  135. def withFilter (p: (R) ⇒ Boolean) : FilterMonadic[R, Iterable[R]]

    definition classes: TraversableLike → FilterMonadic
  136. def zip [A1 >: A, B, That] (that: Iterable[B])(implicit bf: CanBuildFrom[Iterable[R], (A1, B), That]) : That

    definition classes: IterableLike
  137. def zipAll [B, A1 >: A, That] (that: Iterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[R], (A1, B), That]) : That

    definition classes: IterableLike
  138. def zipWithIndex [A1 >: A, That] (implicit bf: CanBuildFrom[Iterable[R], (A1, Int), That]) : That

    definition classes: IterableLike

Inherited from Query[R]

Inherited from Queryable[R]

Inherited from Iterable[R]

Inherited from IterableLike[R, Iterable[R]]

Inherited from Equals

Inherited from Traversable[R]

Inherited from GenericTraversableTemplate[R, Iterable]

Inherited from TraversableLike[R, Iterable[R]]

Inherited from TraversableOnce[R]

Inherited from FilterMonadic[R, Iterable[R]]

Inherited from HasNewBuilder[R, Iterable[R]]

Inherited from AnyRef

Inherited from Any