Function add

  • Adds elements to the HLL set. If the bin does not exist, create the HLL with the indexBits and minhashBits parameters.

    Returns an integer indicating number of entries that caused HLL to update a register.

    The add operation supports the following HLL Policy write flags:

    • CREATE_ONLY
    • NO_FAIL

    Not specifying the bit count, implies UPDATE_ONLY.

    Parameters

    • bin: string

      The name of the bin. The bin must contain an HLL value.

    • list: AerospikeBinValue[]

      Entries to be added to the HLL set.

    • OptionalindexBits: number

      Number of index bits. If specified, must be between 4 and 16 inclusive.

    • OptionalminhashBits: number

      Number of minhash bits. If specified, must be between 4 and 51 inclusive.

    Returns HLLOperation

    Operation that can be passed to the Client#operate command.

MMNEPVFCICPMFPCPTTAAATR