public class PartitionStatImpl extends Object implements HashJoinMemoryCalculator.PartitionStat
| Constructor and Description |
|---|
PartitionStatImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(HashJoinMemoryCalculator.BatchStat batchStat) |
List<HashJoinMemoryCalculator.BatchStat> |
getInMemoryBatches() |
long |
getInMemorySize() |
int |
getNumInMemoryBatches() |
long |
getNumInMemoryRecords() |
boolean |
isSpilled() |
void |
spill() |
public void add(HashJoinMemoryCalculator.BatchStat batchStat)
public void spill()
public List<HashJoinMemoryCalculator.BatchStat> getInMemoryBatches()
getInMemoryBatches in interface HashJoinMemoryCalculator.PartitionStatpublic int getNumInMemoryBatches()
getNumInMemoryBatches in interface HashJoinMemoryCalculator.PartitionStatpublic boolean isSpilled()
isSpilled in interface HashJoinMemoryCalculator.PartitionStatpublic long getNumInMemoryRecords()
getNumInMemoryRecords in interface HashJoinMemoryCalculator.PartitionStatpublic long getInMemorySize()
getInMemorySize in interface HashJoinMemoryCalculator.PartitionStatCopyright © 2021 The Apache Software Foundation. All rights reserved.