public interface ReactiveInsertOperation
ReactiveInsertOperation
interface allows creation and execution of Cassandra 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 a developer to
override the table name for the execution.
insert(Jedi.class)
.inTable("star_wars")
.one(luke);
Modifier and Type | Interface and Description |
---|---|
static interface |
ReactiveInsertOperation.InsertWithOptions<T>
Apply
InsertOptions (optional). |
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 © 2011–2021 Pivotal Software, Inc.. All rights reserved.