public class HybridHashTableConf extends Object
| Constructor and Description |
|---|
HybridHashTableConf() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doSpillOnCreation(int partitionId)
Check if a partition should be spilled directly on creation
|
List<HybridHashTableContainer> |
getLoadedContainerList() |
int |
getNextSpillPartition() |
int |
getNumberOfPartitions() |
void |
setNextSpillPartition(int nextSpillPartition) |
void |
setNumberOfPartitions(int numberOfPartitions) |
long |
spill()
Spill one in-memory partition from tail for all previously loaded HybridHashTableContainers.
|
public int getNumberOfPartitions()
public void setNumberOfPartitions(int numberOfPartitions)
public int getNextSpillPartition()
public void setNextSpillPartition(int nextSpillPartition)
public List<HybridHashTableContainer> getLoadedContainerList()
public long spill()
throws IOException
IOExceptionpublic boolean doSpillOnCreation(int partitionId)
partitionId - the partition to createCopyright © 2017 The Apache Software Foundation. All rights reserved.