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, size
BOOLEAN_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, size
config, getConfiguration, getGlobalProperty, getProperty, getProperty, getStatisticsProperty, loadFormatImpl, selfconfig, setGlobalProperty, setProperty, setProperty, setStatisticsProperty, setStatisticsProperty
private 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 Hash
init
in class AbstractHash
ConfigurationException
private int calcArrayEntries()
public int increment(byte[] aryKeys) throws HashException, FullHashException
increment
in interface Hash
increment
in class AbstractHash
HashException
FullHashException
private void createInvertedList() throws HashException
HashException
protected int isEmpty(int intStartPos, int intLength)
isEmpty
in class AbstractHash
public java.util.Vector getInvertedList(int intBucketID) throws HashException
HashException
public byte[] getValue(byte[] aryKeys) throws HashException
getValue
in interface Hash
getValue
in class AbstractHash
HashException
public int getValueAsInt(byte[] aryKeys) throws HashException
getValueAsInt
in interface Hash
getValueAsInt
in class AbstractHash
HashException
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