com.outworkers.phantom.builder.query

SelectQuery

case class SelectQuery[Table <: CassandraTable[Table, _], Record, Limit <: LimitBound, Order <: OrderBound, Status <: ConsistencyBound, Chain <: WhereBound, PS <: HList](table: Table, rowFunc: (Row) ⇒ Record, init: CQLQuery, tokens: List[(Session) ⇒ RoutingKeyValue] = immutable.this.Nil, wherePart: WherePart = WherePart.empty, orderPart: OrderPart = OrderPart.empty, limitedPart: LimitedPart = LimitedPart.empty, filteringPart: FilteringPart = FilteringPart.empty, usingPart: UsingPart = UsingPart.empty, count: Boolean = false, options: QueryOptions = QueryOptions.empty) extends RootQuery[Table, Record, Status] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, RootQuery[Table, Record, Status], SessionAugmenterImplicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SelectQuery
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. RootQuery
  7. SessionAugmenterImplicits
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SelectQuery(table: Table, rowFunc: (Row) ⇒ Record, init: CQLQuery, tokens: List[(Session) ⇒ RoutingKeyValue] = immutable.this.Nil, wherePart: WherePart = WherePart.empty, orderPart: OrderPart = OrderPart.empty, limitedPart: LimitedPart = LimitedPart.empty, filteringPart: FilteringPart = FilteringPart.empty, usingPart: UsingPart = UsingPart.empty, count: Boolean = false, options: QueryOptions = QueryOptions.empty)

Type Members

  1. implicit class RichSession extends SessionAugmenter

    Definition Classes
    SessionAugmenterImplicits

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 allowFiltering(): SelectQuery[Table, Record, Limit, Order, Status, Chain, PS]

  7. def and[RR, HL <: HList, Out <: HList](condition: (Table) ⇒ QueryCondition[HL])(implicit ev: =:=[Chain, Chainned], prepend: shapeless.ops.hlist.Prepend.Aux[HL, PS, Out]): SelectQuery[Table, Record, Limit, Order, Status, Chainned, Out]

    The where method of a select query.

    The where method of a select query.

    condition

    A where clause condition restricted by path dependant types.

    ev

    An evidence request guaranteeing the user cannot chain multiple where clauses on the same query.

    returns

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def consistencyLevel_=(level: ConsistencyLevel)(implicit ev: =:=[Status, Unspecified], session: Session): SelectQuery[Table, Record, Limit, Order, Specified, Chain, PS]

  11. val count: Boolean

    Attributes
    protected[com.outworkers.phantom]
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def executableQuery: ExecutableCqlQuery

    Definition Classes
    SelectQueryRootQuery
  14. val filteringPart: FilteringPart

    Attributes
    protected[com.outworkers.phantom]
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def fromRow(row: Row): Record

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

    Definition Classes
    AnyRef → Any
  18. val init: CQLQuery

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def limit(limit: Int)(implicit ev: =:=[Limit, Unlimited]): SelectQuery[Table, Record, Limited, Order, Status, Chain, PS]

    Annotations
    @implicitNotFound( ... )
  21. final def limit(ps: PrepareMark)(implicit ev: =:=[Limit, Unlimited]): SelectQuery[Table, Record, Limited, Order, Status, Chain, ::[Int, PS]]

    Annotations
    @implicitNotFound( ... )
  22. val limitedPart: LimitedPart

    Attributes
    protected[com.outworkers.phantom]
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  26. val options: QueryOptions

  27. final def orderBy(clauses: (Table) ⇒ Condition*)(implicit ev: =:=[Order, Unordered]): SelectQuery[Table, Record, Limit, Ordered, Status, Chain, PS]

    Annotations
    @implicitNotFound( ... )
  28. val orderPart: OrderPart

    Attributes
    protected[com.outworkers.phantom]
  29. def prepare[Rev <: HList]()(implicit session: Session, keySpace: KeySpace, ev: =:!=[PS, HNil], rev: Aux[PS, Rev]): PreparedSelectBlock[Table, Record, Limit, Rev]

  30. def prepareAsync[P[_], F[_], Rev <: HList]()(implicit session: Session, executor: ExecutionContextExecutor, keySpace: KeySpace, ev: =:!=[PS, HNil], rev: Aux[PS, Rev], fMonad: FutureMonad[F], interface: PromiseInterface[P, F]): F[PreparedSelectBlock[Table, Record, Limit, Rev]]

  31. val qb: CQLQuery

  32. def queryString: String

    Definition Classes
    RootQuery
  33. val rowFunc: (Row) ⇒ Record

    Attributes
    protected[com.outworkers.phantom]
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. val table: Table

    Attributes
    protected[com.outworkers.phantom]
  36. val tokens: List[(Session) ⇒ RoutingKeyValue]

  37. def using(clause: Condition): SelectQuery[Table, Record, Limit, Order, Status, Chainned, PS]

  38. val usingPart: UsingPart

    Attributes
    protected[com.outworkers.phantom]
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def where[RR, HL <: HList, Out <: HList](condition: (Table) ⇒ QueryCondition[HL])(implicit ev: =:=[Chain, Unchainned], prepend: shapeless.ops.hlist.Prepend.Aux[HL, PS, Out]): SelectQuery[Table, Record, Limit, Order, Status, Chainned, Out]

    The where method of a select query.

    The where method of a select query.

    condition

    A where clause condition restricted by path dependant types.

    ev

    An evidence request guaranteeing the user cannot chain multiple where clauses on the same query.

    returns

  43. val wherePart: WherePart

    Attributes
    protected[com.outworkers.phantom]
  44. def withOptions(opts: (QueryOptions) ⇒ QueryOptions): SelectQuery[Table, Record, Limit, Order, Status, Chain, PS]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RootQuery[Table, Record, Status]

Inherited from SessionAugmenterImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped