public class DmlBatchSender extends Object
| Constructor and Description |
|---|
DmlBatchSender(GridCacheContext cctx,
int size,
int qryNum)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object key,
javax.cache.processor.EntryProcessor<Object,Object,Boolean> proc,
int rowNum)
Add entry to batch.
|
SQLException |
error() |
List<Object> |
failedKeys() |
void |
flush()
Flush any remaining entries.
|
int[] |
perRowCounterAsArray()
Returns per row updates counter as array.
|
ClusterNode |
primaryNodeByKey(Object key) |
void |
setFailed(int rowNum)
Sets row as failed.
|
long |
updateCount() |
public DmlBatchSender(GridCacheContext cctx, int size, int qryNum)
cctx - Cache context.size - Batch.qryNum - Number of queries.public void add(Object key, javax.cache.processor.EntryProcessor<Object,Object,Boolean> proc, int rowNum) throws IgniteCheckedException
key - Key.proc - Processor.rowNum - Row number.IgniteCheckedException - If failed.public ClusterNode primaryNodeByKey(Object key) throws IgniteCheckedException
key - Key.IgniteCheckedException - If primary node is not found.public void flush()
public long updateCount()
public SQLException error()
public int[] perRowCounterAsArray()
public void setFailed(int rowNum)
rowNum - Row number.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025