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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceTheExecutableInsertOperation.ExecutableInsertinterface provides methods for constructingINSERToperations in a fluent way.static interfaceApplyInsertOptions(optional).static interfaceTable override (optional).static interfaceTriggerINSERTexecution by calling one of the terminating methods. -
Method Summary
-
Method Details
-
insert
Begin creating anINSERToperation for givendomainType.- Parameters:
domainType-typeof domain object to insert; must not be null.- Returns:
- new instance of
ExecutableInsertOperation.ExecutableInsert. - Throws:
IllegalArgumentException- ifdomainTypeis null.- See Also:
-