public interface HashTable
Modifier and Type | Interface and Description |
---|---|
static class |
HashTable.PutStatus |
Modifier and Type | Field and Description |
---|---|
static int |
BATCH_MASK |
static int |
BATCH_SIZE
The batch size used for internal batch holders
|
static int |
DEFAULT_INITIAL_CAPACITY
The initial default capacity of the hash table (in terms of number of buckets).
|
static float |
DEFAULT_LOAD_FACTOR
The default load factor of a hash table.
|
static int |
MAXIMUM_CAPACITY
The maximum capacity of the hash table (in terms of number of buckets).
|
static TemplateClassDefinition<HashTable> |
TEMPLATE_DEFINITION |
static int |
VARIABLE_WIDTH_VECTOR_SIZE
Variable width vector size in bytes
|
Modifier and Type | Method and Description |
---|---|
void |
addNewKeyBatch() |
void |
clear() |
int |
containsKey(int incomingRowIdx,
boolean isProbe) |
void |
getStats(HashTableStats stats) |
boolean |
isEmpty() |
boolean |
outputKeys(int batchIdx,
VectorContainer outContainer,
int outStartIndex,
int numRecords) |
void |
put(int incomingRowIdx,
IndexPointer htIdxHolder,
int retryCount) |
void |
setup(HashTableConfig htConfig,
FragmentContext context,
BufferAllocator allocator,
RecordBatch incomingBuild,
RecordBatch incomingProbe,
RecordBatch outgoing,
VectorContainer htContainerOrig) |
int |
size() |
void |
updateBatches() |
static final TemplateClassDefinition<HashTable> TEMPLATE_DEFINITION
static final int DEFAULT_INITIAL_CAPACITY
static final int MAXIMUM_CAPACITY
static final float DEFAULT_LOAD_FACTOR
static final int BATCH_SIZE
static final int BATCH_MASK
static final int VARIABLE_WIDTH_VECTOR_SIZE
void setup(HashTableConfig htConfig, FragmentContext context, BufferAllocator allocator, RecordBatch incomingBuild, RecordBatch incomingProbe, RecordBatch outgoing, VectorContainer htContainerOrig)
void updateBatches()
void put(int incomingRowIdx, IndexPointer htIdxHolder, int retryCount)
int containsKey(int incomingRowIdx, boolean isProbe)
void getStats(HashTableStats stats)
int size()
boolean isEmpty()
void clear()
boolean outputKeys(int batchIdx, VectorContainer outContainer, int outStartIndex, int numRecords)
void addNewKeyBatch()
Copyright © 2015 The Apache Software Foundation. All rights reserved.