Package com.aerospike.client.operation
Class HLLWriteFlags
java.lang.Object
com.aerospike.client.operation.HLLWriteFlags
HyperLogLog operation policy write bit flags. Use BITWISE OR to combine flags. Example:
int flags = HLLWriteFlags.CREATE_ONLY | HLLWriteFlags.NO_FAIL;
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAllow the resulting set to be the minimum of provided index bits.static 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 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:
-
ALLOW_FOLD
public static final int ALLOW_FOLDAllow the resulting set to be the minimum of provided index bits. Also, allow the usage of less precise HLL algorithms when minHash bits of all participating sets do not match.- See Also:
-
-
Constructor Details
-
HLLWriteFlags
public HLLWriteFlags()
-