com.outworkers.phantom.builder.query

DeleteQuery

case class DeleteQuery[Table <: CassandraTable[Table, _], Record, Limit <: LimitBound, Order <: OrderBound, Status <: ConsistencyBound, Chain <: WhereBound, PS <: HList](table: Table, init: CQLQuery, wherePart: WherePart = WherePart.empty, casPart: CompareAndSetPart = CompareAndSetPart.empty, usingPart: UsingPart = UsingPart.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. DeleteQuery
  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 DeleteQuery(table: Table, init: CQLQuery, wherePart: WherePart = WherePart.empty, casPart: CompareAndSetPart = CompareAndSetPart.empty, usingPart: UsingPart = UsingPart.empty, options: QueryOptions = QueryOptions.empty)

Type Members

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

    Attributes
    protected[this]
    Definition Classes
    DeleteQueryQuery
  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]): DeleteQuery[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
    DeleteQueryQuery
  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): DeleteQuery[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, part: 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
    DeleteQueryBatchableRootQuery
  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. def ifExists: DeleteQuery[Table, Record, Limit, Order, Status, Chain, PS]

  17. val init: CQLQuery

  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  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): ConditionalDeleteQuery[Table, Record, Limit, Order, Status, Chain, PS]

    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
    DeleteQueryQuery
  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], monad: FutureMonad[F], interface: PromiseInterface[P, F]): F[PreparedBlock[Rev]]

  26. val qb: CQLQuery

    Definition Classes
    DeleteQueryQuery
  27. def queryString: String

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

    Definition Classes
    AnyRef
  29. val table: Table

  30. def timestamp(time: DateTime): DeleteQuery[Table, Record, Limit, Order, Status, Chainned, PS]

  31. def timestamp(time: Long): DeleteQuery[Table, Record, Limit, Order, Status, Chainned, PS]

  32. val usingPart: UsingPart

  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def where[RR, HL <: HList, Out <: HList](condition: (Table) ⇒ QueryCondition[HL])(implicit ev: =:=[Chain, Unchainned], prepend: shapeless.ops.hlist.Prepend.Aux[HL, PS, Out]): DeleteQuery[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
    DeleteQueryQuery
  37. 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