public class IntMemoryPairIterator extends Object
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
In LIST and SET modes, this gets the iterating index into the integer array of HLL key/value
pairs.
|
int |
getKey()
Gets the key, the low 26 bits of an pair, and can be up to 26 bits in length.
|
int |
getPair()
Gets the key, value pair as a single int where the key is the lower 26 bits
and the value is in the upper 6 bits.
|
int |
getSlot()
Gets the target or actual HLL slot number, which is derived from the key and LgConfigK.
|
int |
getValue()
Gets the HLL value of a particular slot or pair.
|
boolean |
nextAll()
Returns true at the next pair in sequence.
|
boolean |
nextValid()
Returns true at the next pair where getKey() and getValue() are valid.
|
public int getIndex()
public int getKey()
public int getPair()
public int getSlot()
public int getValue()
public boolean nextAll()
public boolean nextValid()
Copyright © 2015–2021 The Apache Software Foundation. All rights reserved.