com.websudos.phantom.builder.query

UpdateQuery

class UpdateQuery[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. UpdateQuery
  2. Batchable
  3. Query
  4. ExecutableStatement
  5. CassandraOperations
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UpdateQuery(table: Table, init: CQLQuery, usingPart: UsingPart = Defaults.EmptyUsingPart, wherePart: WherePart = Defaults.EmptyWherePart, setPart: SetPart = Defaults.EmptySetPart, casPart: CompareAndSetPart = Defaults.EmptyCompareAndSetPart)

Type Members

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

    Attributes
    protected[this]
    Definition Classes
    UpdateQueryQuery

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 and(condition: (Table) ⇒ Condition): UpdateQuery[Table, Record, Limit, Order, Status, Chainned]

    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
    UpdateQueryQuery
    Annotations
    @implicitNotFound( ... )
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

    Definition Classes
    Query
    Annotations
    @implicitNotFound( ... )
  10. def create[T <: CassandraTable[T, _], R, L <: LimitBound, O <: OrderBound, S <: ConsistencyBound, C <: WhereBound](t: T, q: CQLQuery, r: (Row) ⇒ R): QueryType[T, R, L, O, S, C]

    Attributes
    protected[this]
    Definition Classes
    UpdateQueryQuery
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    ExecutableStatement
  14. def finalize(): Unit

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

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

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

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

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

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

  21. final def ne(arg0: AnyRef): Boolean

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

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

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

    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.

  25. val qb: CQLQuery

    Definition Classes
    UpdateQueryQueryExecutableStatement
  26. def queryString: String

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

    Attributes
    protected[this]
    Definition Classes
    CassandraOperations
  28. def scalaQueryStringExecuteToFuture(query: String)(implicit session: Session, keyspace: KeySpace): Future[ResultSet]

    Attributes
    protected[this]
    Definition Classes
    CassandraOperations
  29. def scalaQueryStringToPromise(query: String)(implicit session: Session, keyspace: KeySpace): Promise[ResultSet]

    Attributes
    protected[this]
    Definition Classes
    CassandraOperations
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

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

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

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

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

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

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

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

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

    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

    Definition Classes
    UpdateQueryQuery
    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