scala.slick.lifted

WrappingQuery

class WrappingQuery[+E, U] extends Query[E, U]

Source
Query.scala
Linear Supertypes
Query[E, U], Rep[Seq[U]], AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WrappingQuery
  2. Query
  3. Rep
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WrappingQuery(toNode: Node, base: ShapedValue[_ <: E, U])

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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from WrappingQuery[E, U] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ++[O >: E, R](other: Query[O, U]): WrappingQuery[O, U]

    Return a new query containing the elements from both operands.

    Return a new query containing the elements from both operands. Duplicate elements are preserved.

    Definition Classes
    Query
  6. def ->[B](y: B): (WrappingQuery[E, U], B)

    Implicit information
    This member is added by an implicit conversion from WrappingQuery[E, U] to ArrowAssoc[WrappingQuery[E, U]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  7. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. val base: ShapedValue[_ <: E, U]

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def countDistinct: Column[Int]

    The number of distinct elements of the query.

    The number of distinct elements of the query.

    Definition Classes
    Query
  13. def drop(num: Int): Query[E, U]

    Select all elements except the first num ones.

    Select all elements except the first num ones.

    Definition Classes
    Query
  14. def encodeRef(path: List[ast.Symbol]): Query[E, U]

    Encode a reference into this Rep

    Encode a reference into this Rep

    Definition Classes
    QueryRep
  15. def ensuring(cond: (WrappingQuery[E, U]) ⇒ Boolean, msg: ⇒ Any): WrappingQuery[E, U]

    Implicit information
    This member is added by an implicit conversion from WrappingQuery[E, U] to Ensuring[WrappingQuery[E, U]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (WrappingQuery[E, U]) ⇒ Boolean): WrappingQuery[E, U]

    Implicit information
    This member is added by an implicit conversion from WrappingQuery[E, U] to Ensuring[WrappingQuery[E, U]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): WrappingQuery[E, U]

    Implicit information
    This member is added by an implicit conversion from WrappingQuery[E, U] to Ensuring[WrappingQuery[E, U]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): WrappingQuery[E, U]

    Implicit information
    This member is added by an implicit conversion from WrappingQuery[E, U] to Ensuring[WrappingQuery[E, U]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

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

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

    Test whether this query is non-empty.

    Test whether this query is non-empty.

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

    Definition Classes
    Query
  23. def filterNot[T](f: (E) ⇒ T)(implicit wt: CanBeQueryCondition[T]): Query[E, U]

    Definition Classes
    Query
  24. def finalize(): Unit

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

    Build a new query by applying a function to all elements of this query and using the elements of the resulting queries.

    Build a new query by applying a function to all elements of this query and using the elements of the resulting queries. This corresponds to an implicit inner join in SQL.

    Definition Classes
    Query
  26. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from WrappingQuery[E, U] to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  27. final def getClass(): Class[_]

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

    Partition this query into a query of pairs of a key and a nested query containing the elements for the key, according to some discriminator function.

    Partition this query into a query of pairs of a key and a nested query containing the elements for the key, according to some discriminator function.

    Definition Classes
    Query
  29. def hashCode(): Int

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

    Join two collections with an inner join.

    Join two collections with an inner join. An optional join predicate can be specified later by calling on.

    Definition Classes
    Query
  31. final def isInstanceOf[T0]: Boolean

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

    Join two collections.

    Join two collections. An optional join predicate can be specified later by calling on.

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

    Join two collections with a left outer join.

    Join two collections with a left outer join. An optional join predicate can be specified later by calling on.

    Definition Classes
    Query
  34. def length: Column[Int]

    The total number of elements of the query.

    The total number of elements of the query.

    Definition Classes
    Query
  35. def map[F, G, T](f: (E) ⇒ F)(implicit shape: Shape[_ <: Flat, F, T, G]): Query[G, T]

    Build a new query by applying a function to all elements of this query.

    Build a new query by applying a function to all elements of this query.

    Definition Classes
    Query
  36. final def ne(arg0: AnyRef): Boolean

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

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

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

    Join two collections with a full outer join.

    Join two collections with a full outer join. An optional join predicate can be specified later by calling on.

    Definition Classes
    Query
  40. def pack[R](implicit packing: Shape[_ <: Flat, E, _, R]): Query[R, U]

    Definition Classes
    Query
  41. final lazy val packed: Node

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

    Join two collections with a right outer join.

    Join two collections with a right outer join. An optional join predicate can be specified later by calling on.

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

    Sort this query according to a function which extracts the ordering criteria from the query's elements.

    Sort this query according to a function which extracts the ordering criteria from the query's elements.

    Definition Classes
    Query
  44. def sorted(implicit ev: (E) ⇒ Ordered): Query[E, U]

    Sort this query according to a the ordering of its elements.

    Sort this query according to a the ordering of its elements.

    Definition Classes
    Query
  45. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Select the first num elements.

    Select the first num elements.

    Definition Classes
    Query
  47. val toNode: Node

    Get the Node for this Rep

    Get the Node for this Rep

    Definition Classes
    WrappingQueryRep
  48. def toString(): String

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

    Return a new query containing the elements from both operands.

    Return a new query containing the elements from both operands. Duplicate elements are eliminated from the result.

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

    Return a new query containing the elements from both operands.

    Return a new query containing the elements from both operands. Duplicate elements are preserved.

    Definition Classes
    Query
  51. lazy val unpackable: ShapedValue[_ <: E, U]

    Definition Classes
    WrappingQueryQuery
  52. final def wait(): Unit

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

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

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

    Select all elements of this query which satisfy a predicate.

    Select all elements of this query which satisfy a predicate. Unlike filter, this method only allows Column-valued predicates, so it guards against the accidental use use plain Booleans.

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

    Select all elements of this query which satisfy a predicate.

    Select all elements of this query which satisfy a predicate. This method is used when desugaring for-comprehensions over queries. There is no reason to call it directly because it is the same as filter.

    Definition Classes
    Query
  57. def zip[E2, U2](q2: Query[E2, U2]): Query[(E, E2), (U, U2)]

    Return a query formed from this query and another query by combining corresponding elements in pairs.

    Return a query formed from this query and another query by combining corresponding elements in pairs.

    Definition Classes
    Query
  58. def zipWith[E2, U2, F, G, T](q2: Query[E2, U2], f: (E, E2) ⇒ F)(implicit shape: Shape[_ <: Flat, F, T, G]): Query[G, T]

    Return a query formed from this query and another query by combining corresponding elements with the specified function.

    Return a query formed from this query and another query by combining corresponding elements with the specified function.

    Definition Classes
    Query
  59. def zipWithIndex: BaseJoinQuery[E, Column[Long], U, Long]

    Zip this query with its indices (starting at 0).

    Zip this query with its indices (starting at 0).

    Definition Classes
    Query
  60. def [B](y: B): (WrappingQuery[E, U], B)

    Implicit information
    This member is added by an implicit conversion from WrappingQuery[E, U] to ArrowAssoc[WrappingQuery[E, U]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from WrappingQuery[E, U] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (wrappingQuery: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from WrappingQuery[E, U] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (wrappingQuery: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def >>[F, T](q: Query[F, T]): Query[F, T]

    Definition Classes
    Query
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0) Use flatMap instead

  2. def x: WrappingQuery[E, U]

    Implicit information
    This member is added by an implicit conversion from WrappingQuery[E, U] to ArrowAssoc[WrappingQuery[E, U]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (wrappingQuery: ArrowAssoc[WrappingQuery[E, U]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  3. def x: WrappingQuery[E, U]

    Implicit information
    This member is added by an implicit conversion from WrappingQuery[E, U] to Ensuring[WrappingQuery[E, U]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (wrappingQuery: Ensuring[WrappingQuery[E, U]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Query[E, U]

Inherited from Rep[Seq[U]]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from WrappingQuery[E, U] to StringAdd

Inherited by implicit conversion any2stringfmt from WrappingQuery[E, U] to StringFormat

Inherited by implicit conversion any2ArrowAssoc from WrappingQuery[E, U] to ArrowAssoc[WrappingQuery[E, U]]

Inherited by implicit conversion any2Ensuring from WrappingQuery[E, U] to Ensuring[WrappingQuery[E, U]]

Ungrouped