Module: Aerospike::CDT::MapWriteMode

Defined in:
lib/aerospike/cdt/map_write_mode.rb

Overview

Unique key map write type.

This enum should only be used for server versions < 4.3. MapWriteFlags are recommended for server versions >= 4.3.

Constant Summary collapse

UPDATE =

If the key already exists, the item will be overwritten. If the key does not exist, a new item will be created.

0
UPDATE_ONLY =

If the key already exists, the item will be overwritten. If the key does not exist, the write will fail.

1
CREATE_ONLY =

If the key already exists, the write will fail. If the key does not exist, a new item will be created.

2
DEFAULT =

Default write mode

UPDATE