Package org.pentaho.di.core.hash
Class ByteArrayHashIndex
java.lang.Object
org.pentaho.di.core.hash.ByteArrayHashIndex
-
Constructor Summary
ConstructorDescriptionByteArrayHashIndex
(RowMetaInterface keyRowMeta) ByteArrayHashIndex
(RowMetaInterface keyRowMeta, int size) Create a Byte array hash index to store row -
Method Summary
Modifier and TypeMethodDescriptionstatic int
generateHashCode
(byte[] key, RowMetaInterface rowMeta) byte[]
get
(byte[] key) int
getSize()
boolean
isEmpty()
void
put
(byte[] key, byte[] value)
-
Constructor Details
-
ByteArrayHashIndex
Create a Byte array hash index to store row- Parameters:
rowMeta
-
-
ByteArrayHashIndex
-
-
Method Details
-
getSize
public int getSize() -
isEmpty
public boolean isEmpty() -
get
- Throws:
KettleValueException
-
put
- Throws:
KettleValueException
-
generateHashCode
public static int generateHashCode(byte[] key, RowMetaInterface rowMeta) throws KettleValueException - Throws:
KettleValueException
-