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, tokens: List[(Session) ⇒ RoutingKeyValue] = immutable.this.Nil, wherePart: WherePart = WherePart.empty, casPart: CompareAndSetPart = CompareAndSetPart.empty, usingPart: UsingPart = UsingPart.empty, options: QueryOptions = QueryOptions.empty) 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. DeleteQuery
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Batchable
  7. RootQuery
  8. SessionAugmenterImplicits
  9. AnyRef
  10. 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, tokens: List[(Session) ⇒ RoutingKeyValue] = immutable.this.Nil, wherePart: WherePart = WherePart.empty, casPart: CompareAndSetPart = CompareAndSetPart.empty, usingPart: UsingPart = UsingPart.empty, options: QueryOptions = QueryOptions.empty)

Type Members

  1. 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

  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. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def executableQuery: ExecutableCqlQuery

    Definition Classes
    DeleteQueryBatchableRootQuery
  13. def finalize(): Unit

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

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

  16. val init: CQLQuery

  17. final def isInstanceOf[T0]: Boolean

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

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

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

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

  22. val options: QueryOptions

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

  24. 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]]

  25. val qb: CQLQuery

  26. def queryString: String

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

    Definition Classes
    AnyRef
  28. val table: Table

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

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

  31. val tokens: List[(Session) ⇒ RoutingKeyValue]

  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, Token <: HList, Out <: HList, OutTk <: 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

  37. val wherePart: WherePart

  38. def withOptions(opts: (QueryOptions) ⇒ QueryOptions): DeleteQuery[Table, Record, Limit, Order, Status, Chain, PS]

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