public static class HashJoinMemoryCalculator.PartitionStatSet extends Object
| Constructor and Description |
|---|
PartitionStatSet(HashJoinMemoryCalculator.PartitionStat... partitionStats) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSpilled() |
HashJoinMemoryCalculator.PartitionStat |
get(int partitionIndex) |
long |
getConsumedMemory() |
List<Integer> |
getInMemoryPartitions() |
int |
getNumInMemoryBatches() |
int |
getNumInMemoryPartitions() |
long |
getNumInMemoryRecords() |
int |
getNumSpilledPartitions() |
List<Integer> |
getPartitions(boolean spilled) |
int |
getSize() |
List<Integer> |
getSpilledPartitions() |
String |
makeDebugString() |
boolean |
noneSpilled() |
static String |
prettyPrintBytes(long byteCount) |
public PartitionStatSet(HashJoinMemoryCalculator.PartitionStat... partitionStats)
public HashJoinMemoryCalculator.PartitionStat get(int partitionIndex)
public int getSize()
public long getNumInMemoryRecords()
public int getNumInMemoryBatches()
public long getConsumedMemory()
public int getNumInMemoryPartitions()
public int getNumSpilledPartitions()
public boolean allSpilled()
public boolean noneSpilled()
public String makeDebugString()
public static String prettyPrintBytes(long byteCount)
Copyright © 2021 The Apache Software Foundation. All rights reserved.