public interface ReactiveDeleteOperation
ReactiveDeleteOperation interface allows creation and execution of Cassandra DELETE operations in
a fluent API style.
The starting domainType is used for mapping the Query provided via matching into the
Cassandra specific representation. By default, the table to operate on is derived from the initial
domainType and can be defined there via Table
annotation. Using inTable allows a developer to override the table name for the execution.
delete(Jedi.class)
.inTable("star_wars")
.matching(query(where("firstname").is("luke")))
.all();
Query| Modifier and Type | Interface and Description |
|---|---|
static interface |
ReactiveDeleteOperation.DeleteWithQuery
Required
filter. |
static interface |
ReactiveDeleteOperation.DeleteWithTable
Table override (optional).
|
static interface |
ReactiveDeleteOperation.ReactiveDelete
The
ReactiveDeleteOperation.ReactiveDelete interface provides methods for constructing DELETE operations in a fluent way. |
static interface |
ReactiveDeleteOperation.TerminatingDelete
Trigger
DELETE operation by calling one of the terminating methods. |
| Modifier and Type | Method and Description |
|---|---|
ReactiveDeleteOperation.ReactiveDelete |
delete(Class<?> domainType)
Begin creating a
DELETE operation for the given domainType. |
ReactiveDeleteOperation.ReactiveDelete delete(Class<?> domainType)
DELETE operation for the given domainType.domainType - type of domain object to delete; must not be null.ReactiveDeleteOperation.ReactiveDelete.IllegalArgumentException - if domainType is null.ReactiveDeleteOperation.ReactiveDeleteCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.