public class OneDimensionArrayHashImpl extends AbstractHash
| Modifier and Type | Field and Description |
|---|---|
private boolean |
boolIsCreatedInvertedList |
private boolean |
boolIsSymmetric |
private int |
intArrayEntries |
private int[] |
intKeyCoordinates |
private int |
intValueSize |
private java.util.Vector[] |
objInvereList |
aryData, BLOCK_SIZE, BLOCKS, HASH_FUNCTION_IMPL, intBucketEndPos, intBucketID, intBucketStartPos, intCounterSize, intCurrentBucketID, intDataSetsPerBucket, intKeySize, intSizeOfValue, objHashFunction, sizeBOOLEAN_DEFAULT, DOUBLE_DEFAULT, FORMAT_IMPL, INT_DEFAULT, LONG_DEFAULT, objConf, objConfCategory, objFormat, strBackupConfFile, STRING_DEFAULT| Constructor and Description |
|---|
OneDimensionArrayHashImpl()
Creates a new instance of OneDimensionArrayHashImpl
|
| Modifier and Type | Method and Description |
|---|---|
private int |
calcArrayEntries() |
private void |
createInvertedList() |
java.util.Vector |
getInvertedList(int intBucketID) |
byte[] |
getValue(byte[] aryKeys) |
int |
getValueAsInt(byte[] aryKeys) |
int |
increment(byte[] aryKeys) |
void |
init() |
protected int |
isEmpty(int intStartPos,
int intLength) |
add, calcBucketBitSize, calcCounterSize, calcHashValuesBitSize, capacity, capacity, checkBlocks, checkHashValue, checkHashValue, clean, clean, export, export, free, getBlocks, getBlockSize, getBucketSize, getCounterSize, getData, getDataSetsPerBucket, getInt, getInt, getIntAsByteArray, incrementByteSequence, incrementByteSequence, isEmpty, loadHashFunction, mergeNextElement, put, putMerge, resize, setSize, sizeconfig, getConfiguration, getGlobalProperty, getProperty, getProperty, getStatisticsProperty, loadFormatImpl, selfconfig, setGlobalProperty, setProperty, setProperty, setStatisticsProperty, setStatisticsPropertyprivate int intArrayEntries
private int intValueSize
private int[] intKeyCoordinates
private boolean boolIsSymmetric
private java.util.Vector[] objInvereList
private boolean boolIsCreatedInvertedList
public OneDimensionArrayHashImpl()
public void init()
throws ConfigurationException
init in interface Hashinit in class AbstractHashConfigurationExceptionprivate int calcArrayEntries()
public int increment(byte[] aryKeys)
throws HashException,
FullHashException
increment in interface Hashincrement in class AbstractHashHashExceptionFullHashExceptionprivate void createInvertedList()
throws HashException
HashExceptionprotected int isEmpty(int intStartPos,
int intLength)
isEmpty in class AbstractHashpublic java.util.Vector getInvertedList(int intBucketID)
throws HashException
HashExceptionpublic byte[] getValue(byte[] aryKeys)
throws HashException
getValue in interface HashgetValue in class AbstractHashHashExceptionpublic int getValueAsInt(byte[] aryKeys)
throws HashException
getValueAsInt in interface HashgetValueAsInt in class AbstractHashHashException2005-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