Class/Object

com.websudos.phantom.builder.query.prepared

PreparedUpdateQuery

Related Docs: object PreparedUpdateQuery | package prepared

Permalink

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

Linear Supertypes
Batchable, Query[Table, Record, Limit, Order, Status, Chain], ExecutableStatement, CassandraOperations, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PreparedUpdateQuery
  2. Batchable
  3. Query
  4. ExecutableStatement
  5. CassandraOperations
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PreparedUpdateQuery(table: Table, init: CQLQuery, usingPart: UsingPart = Defaults.EmptyUsingPart, wherePart: WherePart = Defaults.EmptyWherePart, setPart: SetPart = Defaults.EmptySetPart, casPart: CompareAndSetPart = Defaults.EmptyCompareAndSetPart, consistencyLevel: Option[ConsistencyLevel] = None)

    Permalink

Type Members

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

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

    Permalink
    Definition Classes
    CassandraOperations

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]): PreparedUpdateQuery[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.

    Definition Classes
    PreparedUpdateQueryQuery
    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
    PreparedUpdateQueryQueryExecutableStatement
  8. final def consistencyLevel_=(level: ConsistencyLevel)(implicit ev: =:=[Status, Unspecified], session: Session): QueryType[Table, Record, Limit, Order, Specified, Chain]

    Permalink
    Definition Classes
    Query
    Annotations
    @implicitNotFound( ... )
  9. 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]
    Definition Classes
    PreparedUpdateQueryQuery
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  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]

    Permalink
    Definition Classes
    Query
    Annotations
    @implicitNotFound( ... )
  19. final def modify(clause: (Table) ⇒ Condition): AssignmentsQuery[Table, Record, Limit, Order, Status, Chain]

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def onlyIf(clause: (Table) ⇒ Condition): ConditionalQuery[Table, Record, Limit, Order, Status, Chain]

    Permalink

    Generates a conditional query clause based on CQL lightweight transactions.

    Generates a conditional query clause based on CQL lightweight transactions. Compare and set transactions only get executed if a particular condition is true.

    clause

    The Compare-And-Set clause to append to the builder.

    returns

    A conditional query, now bound by a compare-and-set part.

  24. val qb: CQLQuery

    Permalink
    Definition Classes
    PreparedUpdateQueryQueryExecutableStatement
  25. def queryString: String

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Query
  33. def ttl(duration: FiniteDuration): QueryType[Table, Record, Limit, Order, Status, Chain]

    Permalink
    Definition Classes
    Query
  34. def ttl(seconds: Long): QueryType[Table, Record, Limit, Order, Status, Chain]

    Permalink
    Definition Classes
    Query
  35. def twitterQueryStringExecuteToFuture(str: Statement)(implicit session: Session, keyspace: KeySpace): Future[ResultSet]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    CassandraOperations
  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(condition: (Table) ⇒ Condition)(implicit ev: =:=[Chain, Unchainned]): PreparedUpdateQuery[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.

    Definition Classes
    PreparedUpdateQueryQuery
    Annotations
    @implicitNotFound( ... )

Inherited from Batchable

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

Inherited from ExecutableStatement

Inherited from CassandraOperations

Inherited from AnyRef

Inherited from Any

Ungrouped