Package com.aerospike.client.operation
Class BitWriteFlags
java.lang.Object
com.aerospike.client.operation.BitWriteFlags
Bitwise operation policy write bit flags. Use BITWISE OR to combine flags. Example:
int flags = BitWriteFlags.NO_FAIL | BitWriteFlags.PARTIAL;
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIf the bin already exists, the operation will be denied.static final intDefault.static final intDo not raise error if operation is denied.static final intAllow other valid operations to be committed if this operations is denied due to flag constraints.static final intIf the bin already exists, the bin will be overwritten. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT
public static final int DEFAULTDefault. Allow create or update.- See Also:
-
CREATE_ONLY
public static final int CREATE_ONLYIf the bin already exists, the operation will be denied. If the bin does not exist, a new bin will be created.- See Also:
-
UPDATE_ONLY
public static final int UPDATE_ONLYIf the bin already exists, the bin will be overwritten. If the bin does not exist, the operation will be denied.- See Also:
-
NO_FAIL
public static final int NO_FAILDo not raise error if operation is denied.- See Also:
-
PARTIAL
public static final int PARTIALAllow other valid operations to be committed if this operations is denied due to flag constraints.- See Also:
-
-
Constructor Details
-
BitWriteFlags
public BitWriteFlags()
-