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, calcHashValueSizeBOOLEAN_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, printBitTableconfig, getConfiguration, getGlobalProperty, getProperty, getProperty, getStatisticsProperty, loadFormatImpl, selfconfig, setGlobalProperty, setProperty, setProperty, setStatisticsProperty, setStatisticsPropertyprivate 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 HashFunctioninit in class AbstractHashFunctionConfigurationExceptionHashExceptionpublic int calcBucketID(byte[] aryKeys)
throws HashException
calcBucketID in interface HashFunctioncalcBucketID in class AbstractHashFunctionHashExceptionpublic int calcHashValue()
throws HashException
calcHashValue in interface HashFunctioncalcHashValue in class AbstractHashFunctionHashExceptionpublic byte[] getOriginalHashValue()
getOriginalHashValue in interface HashFunctiongetOriginalHashValue in class AbstractHashFunction2005-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