public abstract class VectorMapJoinFastLongHashTable extends VectorMapJoinFastHashTable implements VectorMapJoinLongHashTable
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
protected long[] |
slotPairs |
keysAssigned, largestNumberOfSteps, loadFactor, logicalHashBucketCount, logicalHashBucketMask, metricExpands, metricPutConflict, resizeThreshold, writeBuffersSize
Constructor and Description |
---|
VectorMapJoinFastLongHashTable(boolean minMaxEnabled,
boolean isOuterJoin,
VectorMapJoinDesc.HashTableKeyType hashTableKeyType,
int initialCapacity,
float loadFactor,
int writeBuffersSize) |
Modifier and Type | Method and Description |
---|---|
void |
add(long key,
org.apache.hadoop.io.BytesWritable currentValue) |
protected abstract void |
assignSlot(int slot,
long key,
boolean isNewKey,
org.apache.hadoop.io.BytesWritable currentValue) |
protected long |
findReadSlot(long key,
long hashCode) |
long |
max() |
long |
min() |
void |
putRow(org.apache.hadoop.io.BytesWritable currentKey,
org.apache.hadoop.io.BytesWritable currentValue) |
void |
putRow(long currentKey,
byte[] currentValue) |
boolean |
useMinMax() |
public static final org.apache.commons.logging.Log LOG
protected long[] slotPairs
public VectorMapJoinFastLongHashTable(boolean minMaxEnabled, boolean isOuterJoin, VectorMapJoinDesc.HashTableKeyType hashTableKeyType, int initialCapacity, float loadFactor, int writeBuffersSize)
public boolean useMinMax()
useMinMax
in interface VectorMapJoinLongHashTable
public long min()
min
in interface VectorMapJoinLongHashTable
public long max()
max
in interface VectorMapJoinLongHashTable
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(long currentKey, byte[] currentValue) throws HiveException, IOException
HiveException
IOException
protected abstract void assignSlot(int slot, long key, boolean isNewKey, org.apache.hadoop.io.BytesWritable currentValue)
public void add(long key, org.apache.hadoop.io.BytesWritable currentValue)
protected long findReadSlot(long key, long hashCode)
Copyright © 2017 The Apache Software Foundation. All rights reserved.