Class

com.websudos.phantom.builder.query

Query

Related Doc: package query

Permalink

abstract class Query[Table <: CassandraTable[Table, _], Record, Limit <: LimitBound, Order <: OrderBound, Status <: ConsistencyBound, Chain <: WhereBound] extends ExecutableStatement

Linear Supertypes
ExecutableStatement, CassandraOperations, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Query
  2. ExecutableStatement
  3. CassandraOperations
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Query(table: Table, qb: CQLQuery, row: (Row) ⇒ Record, consistencyLevel: Option[ConsistencyLevel] = None)

    Permalink

Type Members

  1. abstract type QueryType[T <: CassandraTable[T, _], R, L <: LimitBound, O <: OrderBound, S <: ConsistencyBound, C <: WhereBound] <: Query[T, R, L, O, S, C]

    Permalink
    Attributes
    protected[this]
  2. implicit class RichSession extends AnyRef

    Permalink
    Definition Classes
    CassandraOperations

Abstract Value Members

  1. abstract def create[T <: CassandraTable[T, _], R, L <: LimitBound, O <: OrderBound, S <: ConsistencyBound, C <: WhereBound](t: T, q: CQLQuery, r: (Row) ⇒ R, consistencyLevel: Option[ConsistencyLevel] = None): QueryType[T, R, L, O, S, C]

    Permalink
    Attributes
    protected[this]

Concrete 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 and(condition: (Table) ⇒ Condition)(implicit ev: =:=[Chain, Chainned]): QueryType[Table, Record, Limit, Order, Status, Chainned]

    Permalink

    And clauses require overriding for count queries for the same purpose.

    And clauses require overriding for count queries for the same purpose. Without this override, the CQL query executed to fetch the count would still have a "LIMIT 1".

    condition

    The Query condition to execute, based on index operators.

    returns

    A SelectCountWhere.

    Annotations
    @implicitNotFound( ... )
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val consistencyLevel: Option[ConsistencyLevel]

    Permalink
    Definition Classes
    QueryExecutableStatement
  8. final def consistencyLevel_=(level: ConsistencyLevel)(implicit ev: =:=[Status, Unspecified], session: Session): QueryType[Table, Record, Limit, Order, Specified, Chain]

    Permalink
    Annotations
    @implicitNotFound( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def execute()(implicit session: Session, keySpace: KeySpace): Future[ResultSet]

    Permalink
    Definition Classes
    ExecutableStatement
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def future()(implicit session: Session, keySpace: KeySpace): Future[ResultSet]

    Permalink
    Definition Classes
    ExecutableStatement
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Annotations
    @implicitNotFound( ... )
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. val qb: CQLQuery

    Permalink
    Definition Classes
    QueryExecutableStatement
  22. def queryString: String

    Permalink
    Definition Classes
    ExecutableStatement
  23. def scalaFutureToTwitter[R](future: Future[R])(implicit ctx: ExecutionContext): Future[R]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    CassandraOperations
  24. def scalaQueryStringExecuteToFuture(st: Statement)(implicit session: Session, keyspace: KeySpace): Future[ResultSet]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    CassandraOperations
  25. def scalaQueryStringToPromise(st: Statement)(implicit session: Session, keyspace: KeySpace): Promise[ResultSet]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    CassandraOperations
  26. def statement()(implicit session: Session): Statement

    Permalink
    Definition Classes
    ExecutableStatement
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. def ttl(duration: Duration): QueryType[Table, Record, Limit, Order, Status, Chain]

    Permalink
  30. def ttl(duration: FiniteDuration): QueryType[Table, Record, Limit, Order, Status, Chain]

    Permalink
  31. def ttl(seconds: Long): QueryType[Table, Record, Limit, Order, Status, Chain]

    Permalink
  32. def twitterQueryStringExecuteToFuture(str: Statement)(implicit session: Session, keyspace: KeySpace): Future[ResultSet]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    CassandraOperations
  33. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def where(condition: (Table) ⇒ Condition)(implicit ev: =:=[Chain, Unchainned]): QueryType[Table, Record, Limit, Order, Status, Chainned]

    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.

    Annotations
    @implicitNotFound( ... )

Inherited from ExecutableStatement

Inherited from CassandraOperations

Inherited from AnyRef

Inherited from Any

Ungrouped