Module: Aerospike::RecordExistsAction

Defined in:
lib/aerospike/policy/record_exists_action.rb

Constant Summary collapse

UPDATE =

Create or update record. Merge write command bins with existing bins.

0
UPDATE_ONLY =

Update record only. Fail if record does not exist. Merge write command bins with existing bins.

1
REPLACE =

Create or replace record. Delete existing bins not referenced by write command bins. Supported by Aerospike 2 server versions >= 2.7.5 and Aerospike 3 server versions >= 3.1.6.

2
REPLACE_ONLY =

Replace record only. Fail if record does not exist. Delete existing bins not referenced by write command bins. Supported by Aerospike 2 server versions >= 2.7.5 and Aerospike 3 server versions >= 3.1.6.

3
CREATE_ONLY =

Create only. Fail if record exists.

4