public final class UpdateResult extends Object
| Modifier and Type | Field and Description |
|---|---|
static UpdateResult |
ONE
Result to return for operations that affected 1 item - mostly to be used for fast updates and deletes.
|
static UpdateResult |
ZERO
Result to return for operations that affected 0 items - mostly to be used for fast updates and deletes.
|
| Constructor and Description |
|---|
UpdateResult(long cnt,
Object[] errKeys)
Constructor.
|
UpdateResult(long cnt,
Object[] errKeys,
PartitionResult partRes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
counter() |
Object[] |
errorKeys() |
PartitionResult |
partitionResult() |
void |
throwIfError()
Check update result for erroneous keys and throws concurrent update exception if necessary.
|
public static final UpdateResult ONE
public static final UpdateResult ZERO
public UpdateResult(long cnt,
Object[] errKeys)
cnt - Updated rows count.errKeys - Array of erroneous keys.public UpdateResult(long cnt,
Object[] errKeys,
PartitionResult partRes)
cnt - Updated rows count.errKeys - Array of erroneous keys.partRes - Partition result.public long counter()
public Object[] errorKeys()
public void throwIfError()
public PartitionResult partitionResult()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025