Module: Aerospike::Exp::WriteFlags
- Defined in:
- lib/aerospike/exp/exp.rb
Overview
Expression write flags.
Constant Summary collapse
- DEFAULT =
Default. Allow create or update.
0
- CREATE_ONLY =
If bin does not exist, a new bin will be created. If bin exists, the operation will be denied. If bin exists, fail with ResultCode#BIN_EXISTS_ERROR when #POLICY_NO_FAIL is not set.
1
- UPDATE_ONLY =
If bin exists, the bin will be overwritten. If bin does not exist, the operation will be denied. If bin does not exist, fail with ResultCode#BIN_NOT_FOUND when #POLICY_NO_FAIL is not set.
2
- ALLOW_DELETE =
If expression results in nil value, then delete the bin. Otherwise, fail with ResultCode#OP_NOT_APPLICABLE when #POLICY_NO_FAIL is not set.
4
- POLICY_NO_FAIL =
Do not raise error if operation is denied.
8
- EVAL_NO_FAIL =
Ignore failures caused by the expression resolving to unknown or a non-bin type.
16