Class HLLWriteFlags

java.lang.Object
com.aerospike.client.operation.HLLWriteFlags

public final class HLLWriteFlags extends Object
HyperLogLog operation policy write bit flags. Use BITWISE OR to combine flags. Example:

 int flags = HLLWriteFlags.CREATE_ONLY | HLLWriteFlags.NO_FAIL;
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Allow the resulting set to be the minimum of provided index bits.
    static final int
    If the bin already exists, the operation will be denied.
    static final int
    Default.
    static final int
    Do not raise error if operation is denied.
    static final int
    If the bin already exists, the bin will be overwritten.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFAULT

      public static final int DEFAULT
      Default. Allow create or update.
      See Also:
    • CREATE_ONLY

      public static final int CREATE_ONLY
      If 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_ONLY
      If 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_FAIL
      Do not raise error if operation is denied.
      See Also:
    • ALLOW_FOLD

      public static final int ALLOW_FOLD
      Allow 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()