Module: Aerospike::CDT::MapWriteFlags

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

Overview

Map write bit flags. Requires server versions >= 4.3.

Constant Summary collapse

DEFAULT =

Default. Allow create or update.

0
CREATE_ONLY =

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

1
UPDATE_ONLY =

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

2
NO_FAIL =

Do not raise error, if a map item is denied due to write flag constraints.

4
PARTIAL =

Allow other valid map items to be committed, if a map item is denied due to write flag constraints.

8