Interface ExecutableInsertOperation
- All Known Subinterfaces:
CassandraAdminOperations
,CassandraOperations
,FluentCassandraOperations
- All Known Implementing Classes:
CassandraAdminTemplate
,CassandraTemplate
public interface ExecutableInsertOperation
ExecutableInsertOperation
allows creation and execution of Cassandra INSERT
insert operations in a
fluent API style.
The table to operate on is by default derived from the initial domainType and can be defined there via
Table
. Using inTable
allows to override the
collection 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
TheExecutableInsertOperation.ExecutableInsert
interface provides methods for constructingINSERT
operations in a fluent way.static interface
ApplyInsertOptions
(optional).static interface
Table override (optional).static interface
TriggerINSERT
execution by calling one of the terminating methods. -
Method Summary
-
Method Details
-
insert
Begin creating anINSERT
operation for givendomainType
.- Parameters:
domainType
-type
of domain object to insert; must not be null.- Returns:
- new instance of
ExecutableInsertOperation.ExecutableInsert
. - Throws:
IllegalArgumentException
- ifdomainType
is null.- See Also:
-