@Deprecated public class HLLCV0 extends HyperLogLogCollector
Modifier and Type | Field and Description |
---|---|
static int |
HEADER_NUM_BYTES
Deprecated.
|
static int |
NUM_BYTES_FOR_DENSE_STORAGE
Deprecated.
|
static int |
NUM_NON_ZERO_REGISTERS_BYTE
Deprecated.
Header:
Byte 0: registerOffset
Byte 1-2: numNonZeroRegisters
|
BITS_FOR_BUCKETS, CORRECTION_PARAMETER, DENSE_THRESHOLD, HIGH_CORRECTION_THRESHOLD, LOW_CORRECTION_THRESHOLD, NUM_BUCKETS, NUM_BYTES_FOR_BUCKETS
Modifier | Constructor and Description |
---|---|
protected |
HLLCV0()
Deprecated.
|
protected |
HLLCV0(ByteBuffer buffer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
short |
getMaxOverflowRegister()
Deprecated.
|
byte |
getMaxOverflowValue()
Deprecated.
|
int |
getNumBytesForDenseStorage()
Deprecated.
|
int |
getNumHeaderBytes()
Deprecated.
|
short |
getNumNonZeroRegisters()
Deprecated.
|
int |
getPayloadBytePosition()
Deprecated.
|
int |
getPayloadBytePosition(ByteBuffer buffer)
Deprecated.
|
byte |
getRegisterOffset()
Deprecated.
|
byte |
getVersion()
Deprecated.
|
void |
setMaxOverflowRegister(ByteBuffer buffer,
short register)
Deprecated.
|
void |
setMaxOverflowRegister(short register)
Deprecated.
|
void |
setMaxOverflowValue(byte value)
Deprecated.
|
void |
setMaxOverflowValue(ByteBuffer buffer,
byte value)
Deprecated.
|
void |
setNumNonZeroRegisters(ByteBuffer buffer,
short numNonZeroRegisters)
Deprecated.
|
void |
setNumNonZeroRegisters(short numNonZeroRegisters)
Deprecated.
|
void |
setRegisterOffset(byte registerOffset)
Deprecated.
|
void |
setRegisterOffset(ByteBuffer buffer,
byte registerOffset)
Deprecated.
|
void |
setVersion(ByteBuffer buffer)
Deprecated.
|
add, add, applyCorrection, compareTo, equals, estimateByteBuffer, estimateCardinality, fold, fold, getInitPosition, getLatestNumBytesForDenseStorage, getStorageBuffer, hashCode, makeCollector, makeEmptyVersionedByteArray, makeLatestCollector, toByteArray, toByteBuffer, toString
public static final int NUM_NON_ZERO_REGISTERS_BYTE
public static final int HEADER_NUM_BYTES
public static final int NUM_BYTES_FOR_DENSE_STORAGE
protected HLLCV0()
protected HLLCV0(ByteBuffer buffer)
public byte getVersion()
getVersion
in class HyperLogLogCollector
public void setVersion(ByteBuffer buffer)
setVersion
in class HyperLogLogCollector
public byte getRegisterOffset()
getRegisterOffset
in class HyperLogLogCollector
public void setRegisterOffset(byte registerOffset)
setRegisterOffset
in class HyperLogLogCollector
public void setRegisterOffset(ByteBuffer buffer, byte registerOffset)
setRegisterOffset
in class HyperLogLogCollector
public short getNumNonZeroRegisters()
getNumNonZeroRegisters
in class HyperLogLogCollector
public void setNumNonZeroRegisters(short numNonZeroRegisters)
setNumNonZeroRegisters
in class HyperLogLogCollector
public void setNumNonZeroRegisters(ByteBuffer buffer, short numNonZeroRegisters)
setNumNonZeroRegisters
in class HyperLogLogCollector
public byte getMaxOverflowValue()
getMaxOverflowValue
in class HyperLogLogCollector
public void setMaxOverflowValue(byte value)
setMaxOverflowValue
in class HyperLogLogCollector
public void setMaxOverflowValue(ByteBuffer buffer, byte value)
setMaxOverflowValue
in class HyperLogLogCollector
public short getMaxOverflowRegister()
getMaxOverflowRegister
in class HyperLogLogCollector
public void setMaxOverflowRegister(short register)
setMaxOverflowRegister
in class HyperLogLogCollector
public void setMaxOverflowRegister(ByteBuffer buffer, short register)
setMaxOverflowRegister
in class HyperLogLogCollector
public int getNumHeaderBytes()
getNumHeaderBytes
in class HyperLogLogCollector
public int getNumBytesForDenseStorage()
getNumBytesForDenseStorage
in class HyperLogLogCollector
public int getPayloadBytePosition()
getPayloadBytePosition
in class HyperLogLogCollector
public int getPayloadBytePosition(ByteBuffer buffer)
getPayloadBytePosition
in class HyperLogLogCollector
Copyright © 2011–2015. All rights reserved.