module Aerospike::CDT::MapWriteMode

Unique key map write type.

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

Constants

CREATE_ONLY

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

DEFAULT

Default write mode

UPDATE

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

UPDATE_ONLY

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