public final class ExpWriteFlags extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_DELETE
If expression results in nil value, then delete the bin.
|
static int |
CREATE_ONLY
If bin does not exist, a new bin will be created.
|
static int |
DEFAULT
Default.
|
static int |
EVAL_NO_FAIL
Ignore failures caused by the expression resolving to unknown or a non-bin type.
|
static int |
POLICY_NO_FAIL
Do not raise error if operation is denied.
|
static int |
UPDATE_ONLY
If bin exists, the bin will be overwritten.
|
| Constructor and Description |
|---|
ExpWriteFlags() |
public static final int DEFAULT
public static final int CREATE_ONLY
ResultCode.BIN_EXISTS_ERROR
when POLICY_NO_FAIL is not set.public static final int UPDATE_ONLY
ResultCode.BIN_NOT_FOUND
when POLICY_NO_FAIL is not set.public static final int ALLOW_DELETE
ResultCode.OP_NOT_APPLICABLE when POLICY_NO_FAIL is not set.public static final int POLICY_NO_FAIL
public static final int EVAL_NO_FAIL
Copyright © 2012–2023 Aerospike, Inc. All rights reserved.