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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRequiredfilter.static interfaceTable override (optional).static interfaceTheReactiveDeleteOperation.ReactiveDeleteinterface provides methods for constructingDELETEoperations in a fluent way.static interfaceTriggerDELETEoperation by calling one of the terminating methods. -
Method Summary
-
Method Details
-
delete
Begin creating aDELETEoperation for the givendomainType.- Parameters:
domainType-typeof domain object to delete; must not be null.- Returns:
- new instance of
ReactiveDeleteOperation.ReactiveDelete. - Throws:
IllegalArgumentException- ifdomainTypeis null.- See Also:
-