Interface ReactiveFluentSaveOperation
- All Known Subinterfaces:
ReactiveFluentNeo4jOperations
- All Known Implementing Classes:
ReactiveNeo4jTemplate
@API(status=STABLE,
since="6.2")
public interface ReactiveFluentSaveOperation
ReactiveFluentSaveOperation allows creation and execution of Neo4j save
operations in a fluent API style. It is designed to be used together with the
fluent find operations.
Both interfaces provide a way to specify a pair of two types: A domain type and a
result (projected) type. The fluent save operations are mainly used with DTO based
projections. Closed interface projections won't be that helpful when you received them
via fluent find operations as they won't be modifiable.
- Since:
- 6.2
- Author:
- Michael J. Simons
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAfter the domain type has been specified, related projections or instances of the domain type can be saved. -
Method Summary
Modifier and TypeMethodDescriptionStart creating a save operation for the given domainType.
-
Method Details
-
save
Start creating a save operation for the given domainType.- Type Parameters:
T- the domain type- Parameters:
domainType- must not be null.- Returns:
- new instance of
ReactiveFluentSaveOperation.ExecutableSave. - Throws:
IllegalArgumentException- if domainType is null.
-