public class HashJoinMechanicalMemoryCalculator extends Object implements HashJoinMemoryCalculator
| Modifier and Type | Class and Description |
|---|---|
static class |
HashJoinMechanicalMemoryCalculator.MechanicalBuildSidePartitioning |
static class |
HashJoinMechanicalMemoryCalculator.MechanicalPostBuildCalculations |
HashJoinMemoryCalculator.BatchStat, HashJoinMemoryCalculator.BuildSidePartitioning, HashJoinMemoryCalculator.PartitionStat, HashJoinMemoryCalculator.PartitionStatSet, HashJoinMemoryCalculator.PostBuildCalculations| Constructor and Description |
|---|
HashJoinMechanicalMemoryCalculator(int maxNumInMemBatches) |
| Modifier and Type | Method and Description |
|---|---|
HashJoinState |
getState()
The current
HashJoinState corresponding to this calculator. |
void |
initialize(boolean doMemoryCalc) |
HashJoinMemoryCalculator.BuildSidePartitioning |
next()
Signifies that the current state is complete and returns the next
HashJoinStateCalculator. |
public HashJoinMechanicalMemoryCalculator(int maxNumInMemBatches)
public void initialize(boolean doMemoryCalc)
initialize in interface HashJoinMemoryCalculator@Nullable public HashJoinMemoryCalculator.BuildSidePartitioning next()
HashJoinStateCalculatorHashJoinStateCalculator.
Returns null in the case where there is no next state.next in interface HashJoinStateCalculator<HashJoinMemoryCalculator.BuildSidePartitioning>HashJoinStateCalculator or null if this was the last state.public HashJoinState getState()
HashJoinStateCalculatorHashJoinState corresponding to this calculator.getState in interface HashJoinStateCalculator<HashJoinMemoryCalculator.BuildSidePartitioning>Copyright © 2021 The Apache Software Foundation. All rights reserved.