com.outworkers.phantom.builder.query

AssignmentsQuery

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

Linear Supertypes
Serializable, Serializable, Product, Equals, Batchable, ExecutableStatement, CassandraOperations, SessionAugmenterImplicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AssignmentsQuery
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Batchable
  7. ExecutableStatement
  8. CassandraOperations
  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 AssignmentsQuery(table: Table, init: CQLQuery, usingPart: UsingPart = UsingPart.empty, wherePart: WherePart = WherePart.empty, setPart: SetPart = SetPart.empty, casPart: CompareAndSetPart = CompareAndSetPart.empty, options: QueryOptions)

Type Members

  1. type Modifier = (Statement) ⇒ Statement

    Definition Classes
    ExecutableStatement
  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. 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]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def batchToPromise(batch: BatchWithQuery)(implicit session: Session, executor: ExecutionContextExecutor): Promise[ResultSet]

    Attributes
    protected[this]
    Definition Classes
    CassandraOperations
  9. val casPart: CompareAndSetPart

  10. def clone(): AnyRef

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

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def future(modifyStatement: (Statement) ⇒ Statement)(implicit session: Session, executor: ExecutionContextExecutor): Future[ResultSet]

    This will convert the underlying call to Cassandra done with Google Guava ListenableFuture to a consumable Scala Future that will be completed once the operation is completed on the database end.

    This will convert the underlying call to Cassandra done with Google Guava ListenableFuture to a consumable Scala Future that will be completed once the operation is completed on the database end.

    The execution context of the transformation is provided by phantom via com.outworkers.phantom.Manager.scalaExecutor and it is recommended to use com.outworkers.phantom.dsl.context for operations that chain database calls.

    modifyStatement

    The function allowing to modify underlying Statement

    session

    The implicit session provided by a com.outworkers.phantom.connectors.Connector.

    executor

    The implicit Scala executor.

    returns

    An asynchronous Scala future wrapping the Datastax result set.

    Definition Classes
    ExecutableStatement
  15. def future()(implicit session: Session, ec: ExecutionContextExecutor): Future[ResultSet]

    Default asynchronous query execution method.

    Default asynchronous query execution method. This will convert the underlying call to Cassandra done with Google Guava ListenableFuture to a consumable Scala Future that will be completed once the operation is completed on the database end.

    The execution context of the transformation is provided by phantom via com.outworkers.phantom.Manager.scalaExecutor and it is recommended to use com.outworkers.phantom.dsl.context for operations that chain database calls.

    session

    The implicit session provided by a com.outworkers.phantom.connectors.Connector.

    ec

    The implicit Scala execution context.

    returns

    An asynchronous Scala future wrapping the Datastax result set.

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

    Definition Classes
    AnyRef → Any
  17. def guavaToScala[T](source: ListenableFuture[T])(implicit executor: ExecutionContextExecutor): Promise[T]

    Definition Classes
    CassandraOperations
  18. def ifExists: ConditionalQuery[Table, Record, Limit, Order, Status, Chain, PS, ModifyPrepared]

  19. val init: CQLQuery

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  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, PS, ModifyPrepared]

    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 options: QueryOptions

    Definition Classes
    AssignmentsQueryExecutableStatement
  26. def prepare[Rev <: HList, Reversed <: HList, Out <: HList]()(implicit session: Session, keySpace: KeySpace, ev: =:!=[PS, HNil], rev: Aux[PS, Rev], rev2: Aux[ModifyPrepared, Reversed], prepend: shapeless.ops.hlist.Prepend.Aux[Reversed, Rev, Out]): PreparedBlock[Out]

  27. def prepareAsync[Rev <: HList, Reversed <: HList, Out <: HList]()(implicit session: Session, executor: ExecutionContextExecutor, keySpace: KeySpace, ev: =:!=[PS, HNil], rev: Aux[PS, Rev], rev2: Aux[ModifyPrepared, Reversed], prepend: shapeless.ops.hlist.Prepend.Aux[Reversed, Rev, Out]): Future[PreparedBlock[Out]]

  28. val qb: CQLQuery

    Definition Classes
    AssignmentsQueryExecutableStatement
  29. def queryString: String

    Definition Classes
    ExecutableStatement
  30. def statement()(implicit session: Session): Statement

    Definition Classes
    ExecutableStatement
  31. def statementToFuture(st: Statement)(implicit session: Session, executor: ExecutionContextExecutor): Future[ResultSet]

    Attributes
    protected[this]
    Definition Classes
    CassandraOperations
  32. def statementToPromise(st: Statement)(implicit session: Session, executor: ExecutionContextExecutor): Promise[ResultSet]

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

    Definition Classes
    AnyRef
  34. val table: Table

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

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

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

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

  39. final def ttl(mark: PrepareMark): AssignmentsQuery[Table, Record, Limit, Order, Status, Chain, ::[Long, PS], ModifyPrepared]

  40. val usingPart: UsingPart

  41. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Batchable

Inherited from ExecutableStatement

Inherited from CassandraOperations

Inherited from SessionAugmenterImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped