public interface ReactiveDeleteOperation
ReactiveDeleteOperation
interface allows creation and execution of DELETE
operations in a fluent
API style.
The starting domainType is used for mapping the Query
provided via matching
. By default,
the table to operate on is derived from the initial domainType and can be defined there via
Table
annotation. Using inTable
allows to override
the table name for the execution.
delete(Jedi.class)
.from("star_wars")
.matching(query(where("firstname").is("luke")))
.all();
Modifier and Type | Interface and Description |
---|---|
static interface |
ReactiveDeleteOperation.DeleteWithQuery
Required
filter . |
static interface |
ReactiveDeleteOperation.DeleteWithTable
Table override (optional).
|
static interface |
ReactiveDeleteOperation.ReactiveDelete
The
ReactiveDeleteOperation.ReactiveDelete interface provides methods for constructing DELETE operations in a fluent way. |
static interface |
ReactiveDeleteOperation.TerminatingDelete
Trigger
DELETE operation by calling one of the terminating methods. |
Modifier and Type | Method and Description |
---|---|
ReactiveDeleteOperation.ReactiveDelete |
delete(Class<?> domainType)
Begin creating a
DELETE operation for the given domainType . |
ReactiveDeleteOperation.ReactiveDelete delete(Class<?> domainType)
DELETE
operation for the given domainType
.domainType
- type
of domain object to delete; must not be null.ReactiveDeleteOperation.ReactiveDelete
.IllegalArgumentException
- if domainType
is null.ReactiveDeleteOperation.ReactiveDelete
Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.