com.outworkers.phantom.builder.query

UpdateQuery

case class UpdateQuery[Table <: CassandraTable[Table, _], Record, Limit <: LimitBound, Order <: OrderBound, Status <: ConsistencyBound, Chain <: WhereBound, PS <: HList](table: Table, init: CQLQuery, usingPart: UsingPart = UsingPart.empty, wherePart: WherePart = WherePart.empty, setPart: SetPart = SetPart.empty, casPart: CompareAndSetPart = CompareAndSetPart.empty, options: QueryOptions = QueryOptions.empty) extends Query[Table, Record, Limit, Order, Status, Chain, PS] with Batchable with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Batchable, Query[Table, Record, Limit, Order, Status, Chain, PS], RootQuery[Table, Record, Status], SessionAugmenterImplicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UpdateQuery
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Batchable
  7. Query
  8. RootQuery
  9. SessionAugmenterImplicits
  10. AnyRef
  11. 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 = UsingPart.empty, wherePart: WherePart = WherePart.empty, setPart: SetPart = SetPart.empty, casPart: CompareAndSetPart = CompareAndSetPart.empty, options: QueryOptions = QueryOptions.empty)

Type Members

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

    Attributes
    protected[this]
    Definition Classes
    UpdateQueryQuery
  2. 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 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]

    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
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val casPart: CompareAndSetPart

  9. def clone(): AnyRef

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

  11. def create[T <: CassandraTable[T, _], R, L <: LimitBound, O <: OrderBound, S <: ConsistencyBound, C <: WhereBound, P <: HList](t: T, q: CQLQuery, r: (Row) ⇒ R, usingPart: UsingPart, options: QueryOptions): QueryType[T, R, L, O, S, C, P]

    Attributes
    protected[this]
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def executableQuery: ExecutableCqlQuery

    Definition Classes
    UpdateQuery → Batchable → RootQuery
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. val init: CQLQuery

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def modify[HL <: HList, Out <: HList](clause: (Table) ⇒ Condition[HL])(implicit prepend: shapeless.ops.hlist.Prepend.Aux[HL, HNil, Out]): AssignmentsQuery[Table, Record, Limit, Order, Status, Chain, PS, Out]

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

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

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

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

    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.

  23. val options: QueryOptions

    Definition Classes
    UpdateQueryQuery
  24. def prepare[Rev <: HList]()(implicit session: Session, keySpace: KeySpace, ev: =:!=[PS, HNil], rev: Aux[PS, Rev]): PreparedBlock[Rev]

  25. 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[PreparedBlock[Rev]]

  26. val qb: CQLQuery

    Definition Classes
    UpdateQueryQuery
  27. def queryString: String

    Definition Classes
    RootQuery
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. val table: Table

  30. def ttl(seconds: Long): UpdateQuery[Table, Record, Limit, Order, Status, Chain, PS]

  31. val usingPart: UsingPart

  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. 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]

    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
  36. val wherePart: WherePart

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Batchable

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