Class/Object

com.outworkers.phantom.builder.query

SelectQuery

Related Docs: object SelectQuery | package query

Permalink

case class SelectQuery[Table <: CassandraTable[Table, _], Record, Limit <: LimitBound, Order <: OrderBound, Status <: ConsistencyBound, Chain <: WhereBound, PS <: HList](table: Table, rowFunc: (Row) ⇒ Record, init: CQLQuery, 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 Query[Table, Record, Limit, Order, Status, Chain, PS] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Query[Table, Record, Limit, Order, Status, Chain, PS], 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. Query
  7. RootQuery
  8. SessionAugmenterImplicits
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SelectQuery(table: Table, rowFunc: (Row) ⇒ Record, init: CQLQuery, 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)

    Permalink

Type Members

  1. type QueryType[T <: CassandraTable[T, _], R, L <: LimitBound, O <: OrderBound, S <: ConsistencyBound, C <: WhereBound, P <: HList] = SelectQuery[T, R, L, O, S, C, P]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SelectQueryQuery
  2. implicit class RichSession extends SessionAugmenter

    Permalink
    Definition Classes
    SessionAugmenterImplicits

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def allowFiltering(): SelectQuery[Table, Record, Limit, Order, Status, Chain, PS]

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

    Permalink

    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.

    Definition Classes
    SelectQueryQuery
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Permalink
  9. val count: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  11. def executableQuery: ExecutableCqlQuery

    Permalink
    Definition Classes
    SelectQueryRootQuery
  12. val filteringPart: FilteringPart

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

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

    Permalink
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. val init: CQLQuery

    Permalink
  17. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Annotations
    @implicitNotFound( ... )
  20. val limitedPart: LimitedPart

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

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. val options: QueryOptions

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

    Permalink
    Annotations
    @implicitNotFound( ... )
  26. val orderPart: OrderPart

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

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

    Permalink
  29. val qb: CQLQuery

    Permalink
    Definition Classes
    SelectQueryQuery
  30. def queryString: String

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

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

    Permalink
    Definition Classes
    AnyRef
  33. val table: Table

    Permalink
    Attributes
    protected[com.outworkers.phantom]
  34. def using(clause: Condition): SelectQuery[Table, Record, Limit, Order, Status, Chainned, PS]

    Permalink
  35. val usingPart: UsingPart

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

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

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

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

    Permalink

    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.

    Definition Classes
    SelectQueryQuery
  40. val wherePart: WherePart

    Permalink
    Attributes
    protected[com.outworkers.phantom]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Query[Table, Record, Limit, Order, Status, Chain, PS]

Inherited from RootQuery[Table, Record, Status]

Inherited from SessionAugmenterImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped