Interface ReactiveInsertOperation
- All Known Subinterfaces:
FluentR2dbcOperations,R2dbcEntityOperations
- All Known Implementing Classes:
R2dbcEntityTemplate
public interface ReactiveInsertOperation
The
ReactiveInsertOperation interface allows creation and execution of INSERT operations in a fluent
API style.
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.
insert(Jedi.class)
.into("star_wars")
.using(luke);
- Since:
- 1.1
- Author:
- Mark Paluch
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceTable override (optional).static interfaceTheReactiveInsertOperation.ReactiveInsertinterface provides methods for constructingINSERToperations in a fluent way.static interfaceTriggerINSERTexecution by calling one of the terminating methods. -
Method Summary
-
Method Details
-
insert
Begin creating anINSERToperation for givendomainType.- Type Parameters:
T-typeof the application domain object.- Parameters:
domainType-typeof the domain object to insert; must not be null.- Returns:
- new instance of
ReactiveInsertOperation.ReactiveInsert. - Throws:
IllegalArgumentException- ifdomainTypeis null.- See Also:
-