R
- type of the result returned from batch operation.V
- type of the value used in batch operation.public interface BatchExecutionAssistant<R,V>
CassandraCacheStore
.Modifier and Type | Method and Description |
---|---|
boolean |
alreadyProcessed(int seqNum)
Checks if row/object with specified sequential number is already processed.
|
com.datastax.driver.core.BoundStatement |
bindStatement(com.datastax.driver.core.PreparedStatement statement,
V obj)
Binds prepared statement to current Cassandra session.
|
KeyValuePersistenceSettings |
getPersistenceSettings()
Returns Ignite cache key/value persistence settings.
|
String |
getStatement()
Returns unbind CLQ statement for to be executed inside batch operation.
|
String |
getTable()
Cassandra table to use for an operation.
|
String |
operationName()
Display name for the batch operation.
|
void |
process(com.datastax.driver.core.Row row,
int seqNum)
Processes particular row inside batch operation.
|
int |
processedCount() |
R |
processedData() |
boolean |
tableExistenceRequired()
Indicates if Cassandra tables existence is required for this batch operation.
|
boolean tableExistenceRequired()
true
true if table existence required.String getTable()
String getStatement()
com.datastax.driver.core.BoundStatement bindStatement(com.datastax.driver.core.PreparedStatement statement, V obj)
statement
- Statement.obj
- Parameters for statement binding.KeyValuePersistenceSettings getPersistenceSettings()
String operationName()
void process(com.datastax.driver.core.Row row, int seqNum)
row
- Row to process.seqNum
- Sequential number of the row.boolean alreadyProcessed(int seqNum)
seqNum
- object sequential numbertrue
if object is already processedint processedCount()
R processedData()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024