public abstract class VectorMapJoinFastBytesHashTable extends VectorMapJoinFastHashTable implements VectorMapJoinBytesHashTable
Modifier and Type | Field and Description |
---|---|
protected VectorMapJoinFastKeyStore |
keyStore |
protected long[] |
slotTriples |
keysAssigned, largestNumberOfSteps, loadFactor, logicalHashBucketCount, logicalHashBucketMask, metricExpands, metricPutConflict, resizeThreshold, writeBuffersSize
Constructor and Description |
---|
VectorMapJoinFastBytesHashTable(int initialCapacity,
float loadFactor,
int writeBuffersSize) |
Modifier and Type | Method and Description |
---|---|
void |
add(byte[] keyBytes,
int keyStart,
int keyLength,
org.apache.hadoop.io.BytesWritable currentValue) |
protected abstract void |
assignSlot(int slot,
byte[] keyBytes,
int keyStart,
int keyLength,
long hashCode,
boolean isNewKey,
org.apache.hadoop.io.BytesWritable currentValue) |
protected long |
findReadSlot(byte[] keyBytes,
int keyStart,
int keyLength,
long hashCode) |
void |
putRow(byte[] currentKey,
byte[] currentValue) |
void |
putRow(org.apache.hadoop.io.BytesWritable currentKey,
org.apache.hadoop.io.BytesWritable currentValue) |
protected VectorMapJoinFastKeyStore keyStore
protected long[] slotTriples
public VectorMapJoinFastBytesHashTable(int initialCapacity, float loadFactor, int writeBuffersSize)
public void putRow(org.apache.hadoop.io.BytesWritable currentKey, org.apache.hadoop.io.BytesWritable currentValue) throws HiveException, IOException
putRow
in interface VectorMapJoinHashTable
HiveException
IOException
public void putRow(byte[] currentKey, byte[] currentValue) throws HiveException, IOException
HiveException
IOException
protected abstract void assignSlot(int slot, byte[] keyBytes, int keyStart, int keyLength, long hashCode, boolean isNewKey, org.apache.hadoop.io.BytesWritable currentValue)
public void add(byte[] keyBytes, int keyStart, int keyLength, org.apache.hadoop.io.BytesWritable currentValue)
protected long findReadSlot(byte[] keyBytes, int keyStart, int keyLength, long hashCode)
Copyright © 2017 The Apache Software Foundation. All rights reserved.