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();
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ExecutableDeleteOperation.DeleteWithQuery
Filtering (optional).
|
static interface |
ExecutableDeleteOperation.DeleteWithTable
Table override (optional).
|
static interface |
ExecutableDeleteOperation.ExecutableDelete
the
ExecutableDeleteOperation.ExecutableDelete interface provides methods for constructing DELETE operations
in a fluent way. |
static interface |
ExecutableDeleteOperation.TerminatingDelete
Trigger
DELETE execution by calling one of the terminating methods. |
| Modifier and Type | Method and Description |
|---|---|
ExecutableDeleteOperation.ExecutableDelete |
delete(Class<?> domainType)
Begin creating a
DELETE operation for the given domainType. |
ExecutableDeleteOperation.ExecutableDelete delete(Class<?> domainType)
DELETE operation for the given domainType.domainType - type of domain object to delete; must not be null.ExecutableDeleteOperation.ExecutableDelete.IllegalArgumentException - if domainType is null.ExecutableDeleteOperation.ExecutableDeleteCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.