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