public class ByteArrayHashIndex extends Object
| Constructor and Description |
|---|
ByteArrayHashIndex(RowMetaInterface keyRowMeta) |
ByteArrayHashIndex(RowMetaInterface keyRowMeta,
int size)
Create a Byte array hash index to store row
|
| Modifier and Type | Method and Description |
|---|---|
static int |
generateHashCode(byte[] key,
RowMetaInterface rowMeta) |
byte[] |
get(byte[] key) |
int |
getSize() |
boolean |
isEmpty() |
void |
put(byte[] key,
byte[] value) |
public ByteArrayHashIndex(RowMetaInterface keyRowMeta, int size)
rowMeta - public ByteArrayHashIndex(RowMetaInterface keyRowMeta)
public int getSize()
public boolean isEmpty()
public byte[] get(byte[] key)
throws KettleValueException
KettleValueExceptionpublic void put(byte[] key,
byte[] value)
throws KettleValueException
KettleValueExceptionpublic static int generateHashCode(byte[] key,
RowMetaInterface rowMeta)
throws KettleValueException
KettleValueException