Interface ExecutableDeleteOperation
- All Known Subinterfaces:
CassandraAdminOperations
,CassandraOperations
,FluentCassandraOperations
- All Known Implementing Classes:
CassandraAdminTemplate
,CassandraTemplate
public interface ExecutableDeleteOperation
ExecutableDeleteOperation
allows creation and execution of Cassandra DELETE
operations in a fluent
API style.
The starting domainType is used for mapping the Query
provided via matching
into the
Cassandra specific representation. 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 table name for the execution.
delete(Jedi.class)
.inTable("star_wars")
.matching(query(where("firstname").is("luke")))
.all();
- Since:
- 2.1
- Author:
- Mark Paluch
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Filtering (optional).static interface
Table override (optional).static interface
theExecutableDeleteOperation.ExecutableDelete
interface provides methods for constructingDELETE
operations in a fluent way.static interface
TriggerDELETE
execution by calling one of the terminating methods. -
Method Summary
-
Method Details
-
delete
Begin creating aDELETE
operation for the givendomainType
.- Parameters:
domainType
-type
of domain object to delete; must not be null.- Returns:
- new instance of
ExecutableDeleteOperation.ExecutableDelete
. - Throws:
IllegalArgumentException
- ifdomainType
is null.- See Also:
-