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
Modifier and TypeInterfaceDescriptionstatic interface
Table override (optional).static interface
TheReactiveInsertOperation.ReactiveInsert
interface provides methods for constructingINSERT
operations in a fluent way.static interface
TriggerINSERT
execution by calling one of the terminating methods. -
Method Summary
-
Method Details
-
insert
Begin creating anINSERT
operation for givendomainType
.- Type Parameters:
T
-type
of the application domain object.- Parameters:
domainType
-type
of the domain object to insert; must not be null.- Returns:
- new instance of
ReactiveInsertOperation.ReactiveInsert
. - Throws:
IllegalArgumentException
- ifdomainType
is null.- See Also:
-