Interface ReactiveDeleteOperation
- All Known Subinterfaces:
ReactiveCassandraOperations
,ReactiveFluentCassandraOperations
- All Known Implementing Classes:
ReactiveCassandraTemplate
public interface ReactiveDeleteOperation
The
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();
- Since:
- 2.1
- Author:
- Mark Paluch, John Blum
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Requiredfilter
.static interface
Table override (optional).static interface
TheReactiveDeleteOperation.ReactiveDelete
interface provides methods for constructingDELETE
operations in a fluent way.static interface
TriggerDELETE
operation by calling one of the terminating methods. -
Method Summary
-
Method Details
-
delete
Begin creating aDELETE
operation for the givendomainType
.- Parameters:
domainType
-type
of domain object to delete; must not be null.- Returns:
- new instance of
ReactiveDeleteOperation.ReactiveDelete
. - Throws:
IllegalArgumentException
- ifdomainType
is null.- See Also:
-