Interface ReactiveInsertOperation.TerminatingInsert<T>
- All Known Subinterfaces:
ReactiveInsertOperation.ReactiveInsert<T>
- Enclosing interface:
- ReactiveInsertOperation
public static interface ReactiveInsertOperation.TerminatingInsert<T>
Compose insert execution by calling one of the terminating methods.
-
Method Summary
-
Method Details
-
one
Insert exactly one object.- Parameters:
object
- must not be null.- Returns:
Mono
emitting the insertedobject
when operation has completed. Never null.- Throws:
IllegalArgumentException
- if object is null.
-
all
Insert a collection of objects.- Parameters:
objects
- must not be null.- Returns:
- Flux emitting the inserted
objects
ony by one. Never null. - Throws:
IllegalArgumentException
- if objects is null.
-