Interface ReactiveInsertOperation
- All Known Subinterfaces:
ReactiveCassandraOperations
,ReactiveFluentCassandraOperations
- All Known Implementing Classes:
ReactiveCassandraTemplate
public interface ReactiveInsertOperation
The
ReactiveInsertOperation
interface allows creation and execution of Cassandra 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 a developer to
override the table name for the execution.
insert(Jedi.class)
.inTable("star_wars")
.one(luke);
- Since:
- 2.1
- Author:
- Mark Paluch, John Blum
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
ApplyInsertOptions
(optional).static 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:
-