Interface ReactiveDeleteOperation
- All Known Subinterfaces:
FluentR2dbcOperations,R2dbcEntityOperations
- All Known Implementing Classes:
R2dbcEntityTemplate
public interface ReactiveDeleteOperation
The
ReactiveDeleteOperation interface allows creation and execution of DELETE operations in a fluent
API style.
The starting domainType is used for mapping the Query provided via matching. By default,
the table to operate on is derived from the initial domainType and can be defined there via
Table annotation. Using inTable allows to override
the table name for the execution.
delete(Jedi.class)
.from("star_wars")
.matching(query(where("firstname").is("luke")))
.all();
- Since:
- 1.1
- Author:
- Mark Paluch
-
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:
-