public interface ReactiveInsertOperation
ReactiveInsertOperation
interface allows creation and execution of INSERT
operations in a fluent
API style.
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.
insert(Jedi.class)
.into("star_wars")
.using(luke);
Modifier and Type | Interface and Description |
---|---|
static interface |
ReactiveInsertOperation.InsertWithTable<T>
Table override (optional).
|
static interface |
ReactiveInsertOperation.ReactiveInsert<T>
The
ReactiveInsertOperation.ReactiveInsert interface provides methods for constructing INSERT operations in a fluent way. |
static interface |
ReactiveInsertOperation.TerminatingInsert<T>
Trigger
INSERT execution by calling one of the terminating methods. |
Modifier and Type | Method and Description |
---|---|
<T> ReactiveInsertOperation.ReactiveInsert<T> |
insert(Class<T> domainType)
Begin creating an
INSERT operation for given domainType . |
<T> ReactiveInsertOperation.ReactiveInsert<T> insert(Class<T> domainType)
INSERT
operation for given domainType
.T
- type
of the application domain object.domainType
- type
of the domain object to insert; must not be null.ReactiveInsertOperation.ReactiveInsert
.IllegalArgumentException
- if domainType
is null.ReactiveInsertOperation.ReactiveInsert
Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.