public class CRC64HashFunctionImpl extends AbstractHashFunction
Modifier and Type | Field and Description |
---|---|
private int |
BLOCKS |
private int |
BUCKET_MASK |
static long |
intCollisions |
(package private) int |
intDataSetsPerBucket |
static long |
intElements |
static long |
intElements2 |
private boolean |
isFirstHashValue |
(package private) long |
longCheckSum |
(package private) long |
longHashValue |
private jonelo.jacksum.algorithm.Crc64 |
objCRC64 |
private int |
SHIFTS |
calcBucketID, calcBucketIDSize, calcHashValue, calcHashValueSize
BOOLEAN_DEFAULT, DOUBLE_DEFAULT, FORMAT_IMPL, INT_DEFAULT, LONG_DEFAULT, objConf, objConfCategory, objFormat, strBackupConfFile, STRING_DEFAULT
Constructor and Description |
---|
CRC64HashFunctionImpl()
Creates a new instance of FastCRC32HashFunctionImpl
|
Modifier and Type | Method and Description |
---|---|
int |
calcBucketID(byte[] aryKeys) |
int |
calcHashValue() |
byte[] |
getOriginalHashValue() |
void |
init(java.util.Properties objProperties) |
calcBufferSize, calcKeySuffixes, clear, getInt, getIntAsByteArray, getLongAsByteArray, getProperties, printBitTable
config, getConfiguration, getGlobalProperty, getProperty, getProperty, getStatisticsProperty, loadFormatImpl, selfconfig, setGlobalProperty, setProperty, setProperty, setStatisticsProperty, setStatisticsProperty
private int BLOCKS
private int BUCKET_MASK
private int SHIFTS
private jonelo.jacksum.algorithm.Crc64 objCRC64
private boolean isFirstHashValue
long longCheckSum
long longHashValue
int intDataSetsPerBucket
public static long intCollisions
public static long intElements
public static long intElements2
public CRC64HashFunctionImpl()
public void init(java.util.Properties objProperties) throws ConfigurationException, HashException
init
in interface HashFunction
init
in class AbstractHashFunction
ConfigurationException
HashException
public int calcBucketID(byte[] aryKeys) throws HashException
calcBucketID
in interface HashFunction
calcBucketID
in class AbstractHashFunction
HashException
public int calcHashValue() throws HashException
calcHashValue
in interface HashFunction
calcHashValue
in class AbstractHashFunction
HashException
public byte[] getOriginalHashValue()
getOriginalHashValue
in interface HashFunction
getOriginalHashValue
in class AbstractHashFunction
2005-2013 Marco Büchler, Natural Language Processing Group, University of Leipzig, Germany. 2013-2016 Marco Büchler, Georg August University Göttingen, Göttingen, Germany