public interface CassandraSession extends Closeable
Modifier and Type | Method and Description |
---|---|
<R,V> R |
execute(BatchExecutionAssistant<R,V> assistant,
Iterable<? extends V> data)
Executes batch asynchronous operation against Cassandra database.
|
void |
execute(BatchLoaderAssistant assistant)
Executes batch asynchronous operation to load bunch of records
specified by CQL statement from Cassandra database
|
<V> V |
execute(ExecutionAssistant<V> assistant)
Execute single synchronous operation against Cassandra database.
|
void |
execute(List<Mutation> mutations)
Executes all the mutations performed withing Ignite transaction against Cassandra database.
|
<V> V execute(ExecutionAssistant<V> assistant)
V
- type of the result returned from operation.assistant
- execution assistance to perform the main operation logic.<R,V> R execute(BatchExecutionAssistant<R,V> assistant, Iterable<? extends V> data)
R
- type of the result returned from batch operation.V
- type of the value used in batch operation.assistant
- execution assistance to perform the main operation logic.data
- data which should be processed in batch operation.void execute(BatchLoaderAssistant assistant)
assistant
- execution assistance to perform the main operation logic.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024