Class

com.outworkers.phantom.builder.query

AssignmentsQuery

Related Doc: package query

Permalink

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

Linear Supertypes
Serializable, Serializable, Product, Equals, Batchable, RootQuery[Table, Record, Status], SessionAugmenterImplicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AssignmentsQuery
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Batchable
  7. RootQuery
  8. SessionAugmenterImplicits
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AssignmentsQuery(table: Table, init: CQLQuery, tokens: List[TokenizerKey], usingPart: UsingPart = UsingPart.empty, wherePart: WherePart = WherePart.empty, setPart: SetPart = SetPart.empty, casPart: CompareAndSetPart = CompareAndSetPart.empty, options: QueryOptions)

    Permalink

Type Members

  1. 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. final def and[HL <: HList, Out <: HList](clause: (Table) ⇒ Condition[HL])(implicit prepend: shapeless.ops.hlist.Prepend.Aux[HL, ModifyPrepared, Out]): AssignmentsQuery[Table, Record, Limit, Order, Status, Chain, PS, Out, TTL]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val casPart: CompareAndSetPart

    Permalink
  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): AssignmentsQuery[Table, Record, Limit, Order, Specified, Chain, PS, ModifyPrepared, TTL]

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

    Permalink
    Definition Classes
    AnyRef
  10. def executableQuery: ExecutableCqlQuery

    Permalink
    Definition Classes
    AssignmentsQueryBatchableRootQuery
  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def ifExists: ConditionalQuery[Table, Record, Limit, Order, Status, Chain, PS, ModifyPrepared]

    Permalink
  14. val init: CQLQuery

    Permalink
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

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

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

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

    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.

  20. val options: QueryOptions

    Permalink
  21. def prepare[RevSet <: HList, RevModified <: HList, Out <: HList, TTLAdded <: HList]()(implicit session: Session, keySpace: KeySpace, ev: =:!=[PS, HNil], rev: Aux[PS, RevSet], rev2: Aux[ModifyPrepared, RevModified], prepend: shapeless.ops.hlist.Prepend.Aux[RevModified, RevSet, Out], prependTTL: shapeless.ops.hlist.Prepend.Aux[TTL, Out, TTLAdded]): PreparedBlock[TTLAdded]

    Permalink

    Prepares a statement synchronously.

    Prepares a statement synchronously.

    session

    The session in which to execute the statement.

    keySpace

    The key space in which to execute this statement.

    rev

    Reverses the HList of prepared types provided in the WHERE .. AND chain.

  22. def prepareAsync[P[_], F[_], RevWhere <: HList, RevSet <: HList, Out <: HList, TTLAdded <: HList]()(implicit session: Session, executor: ExecutionContextExecutor, keySpace: KeySpace, ev: =:!=[PS, HNil], rev: Aux[PS, RevWhere], rev2: Aux[ModifyPrepared, RevSet], prepend: shapeless.ops.hlist.Prepend.Aux[RevSet, RevWhere, Out], prependTTL: shapeless.ops.hlist.Prepend.Aux[TTL, Out, TTLAdded], fMonad: FutureMonad[F], adapter: GuavaAdapter[F], interface: PromiseInterface[P, F]): F[PreparedBlock[TTLAdded]]

    Permalink
  23. val qb: CQLQuery

    Permalink
  24. def queryString: String

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

    Permalink
    Definition Classes
    AnyRef
  26. val table: Table

    Permalink
  27. final def timestamp(value: DateTime): AssignmentsQuery[Table, Record, Limit, Order, Status, Chain, PS, ModifyPrepared, TTL]

    Permalink
  28. final def timestamp(value: Long): AssignmentsQuery[Table, Record, Limit, Order, Status, Chain, PS, ModifyPrepared, TTL]

    Permalink

    Allows setting a timestamp value in microseconds.

    Allows setting a timestamp value in microseconds.

    value

    The microsecond UTC timestamp of the time to use for the update query.

    returns

    An assignments query with a timestamp value manually set.

  29. val tokens: List[TokenizerKey]

    Permalink
  30. final def ttl(duration: FiniteDuration): AssignmentsQuery[Table, Record, Limit, Order, Status, Chain, PS, ModifyPrepared, TTL]

    Permalink
  31. final def ttl(seconds: Long): AssignmentsQuery[Table, Record, Limit, Order, Status, Chain, PS, ModifyPrepared, TTL]

    Permalink
  32. final def ttl(mark: PrepareMark): AssignmentsQuery[Table, Record, Limit, Order, Status, Chain, PS, ModifyPrepared, ::[Int, HNil]]

    Permalink
  33. val usingPart: UsingPart

    Permalink
  34. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. val wherePart: WherePart

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Batchable

Inherited from RootQuery[Table, Record, Status]

Inherited from SessionAugmenterImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped