Class

com.websudos.phantom.builder.query

AssignmentsQuery

Related Doc: package query

Permalink

sealed class AssignmentsQuery[Table <: CassandraTable[Table, _], Record, Limit <: LimitBound, Order <: OrderBound, Status <: ConsistencyBound, Chain <: WhereBound, PS <: HList, ModifyPrepared <: HList] extends ExecutableStatement with Batchable

Linear Supertypes
Batchable, ExecutableStatement, CassandraOperations, SessionAugmenterImplicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AssignmentsQuery
  2. Batchable
  3. ExecutableStatement
  4. CassandraOperations
  5. SessionAugmenterImplicits
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
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)

    Permalink

Type Members

  1. type Modifier = (Statement) ⇒ Statement

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

    Permalink
  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. def consistencyLevel_=(level: ConsistencyLevel)(implicit ev: =:=[Status, Unspecified], session: Session): AssignmentsQuery[Table, Record, Limit, Order, Specified, Chain, PS, ModifyPrepared]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

    Permalink

    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.websudos.phantom.Manager.scalaExecutor and it is recommended to use com.websudos.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.websudos.phantom.connectors.Connector.

    keySpace

    The implicit keySpace definition provided by a com.websudos.phantom.connectors.Connector.

    executor

    The implicit Scala executor.

    returns

    An asynchronous Scala future wrapping the Datastax result set.

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

    Permalink

    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.websudos.phantom.Manager.scalaExecutor and it is recommended to use com.websudos.phantom.dsl.context for operations that chain database calls.

    session

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

    keySpace

    The implicit keySpace definition provided by a com.websudos.phantom.connectors.Connector.

    ec

    The implicit Scala execution context.

    returns

    An asynchronous Scala future wrapping the Datastax result set.

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

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

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

    Permalink
  16. val init: CQLQuery

    Permalink
  17. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. 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.

  22. val options: QueryOptions

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

    Permalink
  24. def preparedStatementToPromise(st: String)(implicit session: Session, keyspace: KeySpace, executor: ExecutionContextExecutor): Promise[PreparedStatement]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    CassandraOperations
  25. val qb: CQLQuery

    Permalink
    Definition Classes
    AssignmentsQueryExecutableStatement
  26. def queryString: String

    Permalink
    Definition Classes
    ExecutableStatement
  27. def scalaQueryStringExecuteToFuture(st: Statement)(implicit session: Session, keyspace: KeySpace, executor: ExecutionContextExecutor): Future[ResultSet]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    CassandraOperations
  28. def scalaQueryStringToPromise(st: Statement)(implicit session: Session, keyspace: KeySpace, executor: ExecutionContextExecutor): 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. final def timestamp(value: DateTime): AssignmentsQuery[Table, Record, Limit, Order, Status, Chain, PS, ModifyPrepared]

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

    Permalink
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def ttl(duration: FiniteDuration): AssignmentsQuery[Table, Record, Limit, Order, Status, Chain, PS, ModifyPrepared]

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

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

    Permalink
  37. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Batchable

Inherited from ExecutableStatement

Inherited from CassandraOperations

Inherited from SessionAugmenterImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped