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 VectorMapJoinLongHashTablepublic long min()
min in interface VectorMapJoinLongHashTablepublic long max()
max in interface VectorMapJoinLongHashTablepublic void putRow(org.apache.hadoop.io.BytesWritable currentKey,
org.apache.hadoop.io.BytesWritable currentValue)
throws HiveException,
IOException
putRow in interface VectorMapJoinHashTableHiveExceptionIOExceptionpublic void putRow(long currentKey,
byte[] currentValue)
throws HiveException,
IOException
HiveExceptionIOExceptionprotected 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 © 2015 The Apache Software Foundation. All rights reserved.