ExpWriteFlags Enumeration
Expression write flags.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
[FlagsAttribute]
public enum ExpWriteFlags
DEFAULT | 0 |
Default. Allow create or update.
|
CREATE_ONLY | 1 |
If bin does not exist, a new bin will be created.
If bin exists, the operation will be denied.
If bin exists, fail with BIN_EXISTS_ERROR
when POLICY_NO_FAIL is not set.
|
UPDATE_ONLY | 2 |
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 BIN_NOT_FOUND
when POLICY_NO_FAIL is not set.
|
ALLOW_DELETE | 4 |
If expression results in nil value, then delete the bin. Otherwise, fail with
OP_NOT_APPLICABLE
when POLICY_NO_FAIL is not set.
|
POLICY_NO_FAIL | 8 |
Do not raise error if operation is denied.
|
EVAL_NO_FAIL | 16 |
Ignore failures caused by the expression resolving to unknown or a non-bin type.
|