scala.slick.lifted

Query

abstract class Query[+E, U] extends Rep[Seq[U]] with CollectionLinearizer[Seq, U]

A query monad which contains the AST for a query's projection and the accumulated restrictions and other modifiers.

Self Type
Query[E, U]
Linear Supertypes
CollectionLinearizer[Seq, U], ValueLinearizer[Seq[U]], Rep[Seq[U]], WithOp, Cloneable, java.lang.Cloneable, NodeGenerator, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Query
  2. CollectionLinearizer
  3. ValueLinearizer
  4. Rep
  5. WithOp
  6. Cloneable
  7. Cloneable
  8. NodeGenerator
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Query()

Abstract Value Members

  1. abstract def nodeDelegate: Node

    Definition Classes
    NodeGenerator
  2. abstract def unpackable: ShapedValue[_ <: E, U]

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def >>[F, T](q: Query[F, T]): Query[F, T]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. final val canBuildFrom: CanBuildFrom[Nothing, U, Seq[U]]

    Definition Classes
    QueryCollectionLinearizer
  9. def clone(): Query.this.type

    Definition Classes
    WithOp → AnyRef
  10. def countDistinct: Column[Int]

  11. def drop(num: Int): Query[E, U]

  12. final lazy val elementLinearizer: ValueLinearizer[U]

    Definition Classes
    QueryCollectionLinearizer
  13. def encodeRef(sym: ast.Symbol, positions: List[Int] = Nil): Query[E, U]

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def exists: Column[Boolean]

  17. def filter[T](f: (E) ⇒ T)(implicit wt: CanBeQueryCondition[T]): Query[E, U]

  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def flatMap[F, T](f: (E) ⇒ Query[F, T]): Query[F, T]

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def groupBy[K, T, G, P](f: (E) ⇒ K)(implicit kshape: Shape[K, T, G], vshape: Shape[E, _, P]): Query[(G, Query[P, U]), (T, Query[P, U])]

  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. def innerJoin[E2, U2](q2: Query[E2, U2]): BaseJoinQuery[E, E2, U, U2]

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def join[E2, U2](q2: Query[E2, U2], jt: JoinType): BaseJoinQuery[E, E2, U, U2]

  26. def leftJoin[E2, U2](q2: Query[E2, U2]): BaseJoinQuery[E, E2, U, U2]

  27. def length: Column[Int]

  28. def map[F, G, T](f: (E) ⇒ F)(implicit shape: Shape[F, T, G]): Query[G, T]

  29. def mapOp(f: (Node, List[Int]) ⇒ Node, positions: List[Int] = Nil): Query.this.type

    Definition Classes
    WithOp
  30. final def narrowedLinearizer: RecordLinearizer[_]

    Definition Classes
    CollectionLinearizerValueLinearizer
  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. final def op: Node

    Definition Classes
    WithOp
  35. def outerJoin[E2, U2](q2: Query[E2, U2]): BaseJoinQuery[E, E2, U, U2]

  36. def pack[R](implicit packing: Shape[E, _, R]): Query[R, U]

  37. final lazy val packed: Node

  38. def rightJoin[E2, U2](q2: Query[E2, U2]): BaseJoinQuery[E, E2, U, U2]

  39. def sortBy[T](f: (E) ⇒ T)(implicit arg0: (T) ⇒ Ordered): Query[E, U]

  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def take(num: Int): Query[E, U]

  42. def toString(): String

    Definition Classes
    AnyRef → Any
  43. def union[O >: E, R](other: Query[O, U]): WrappingQuery[O, U]

  44. def unionAll[O >: E, R](other: Query[O, U]): WrappingQuery[O, U]

  45. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  47. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  48. def where[T <: Column[_]](f: (E) ⇒ T)(implicit arg0: CanBeQueryCondition[T]): Query[E, U]

  49. def withFilter[T](f: (E) ⇒ T)(implicit arg0: CanBeQueryCondition[T]): Query[E, U]

  50. def zip[E2, U2](q2: Query[E2, U2]): Query[(E, E2), (U, U2)]

  51. def zipWith[E2, U2, F, G, T](q2: Query[E2, U2], f: (E, E2) ⇒ F)(implicit shape: Shape[F, T, G]): Query[G, T]

  52. def zipWithIndex: Query[(E, Column[Long]), (U, Long)]

Deprecated Value Members

  1. def count: Column[Int]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.10.0-M2) Use .length instead of .count

  2. def sub: Query[E, U]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.10.0-M2) Query.sub is not needed anymore

Inherited from CollectionLinearizer[Seq, U]

Inherited from ValueLinearizer[Seq[U]]

Inherited from Rep[Seq[U]]

Inherited from WithOp

Inherited from Cloneable

Inherited from java.lang.Cloneable

Inherited from NodeGenerator

Inherited from AnyRef

Inherited from Any

Ungrouped