RecordExistsAction Enumeration
How to handle writes when the record already exists.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
public enum RecordExistsAction
UPDATE | 0 |
Create or update record.
Merge write command bins with existing bins.
|
UPDATE_ONLY | 1 |
Update record only. Fail if record does not exist.
Merge write command bins with existing bins.
|
REPLACE | 2 |
Create or update record.
Delete existing bins not referenced by write command bins.
Supported by Aerospike server versions >= 3.1.6.
|
REPLACE_ONLY | 3 |
Update record only. Fail if record does not exist.
Delete existing bins not referenced by write command bins.
Supported by Aerospike server versions >= 3.1.6.
|
CREATE_ONLY | 4 |
Create only. Fail if record exists.
|