Class HashJoinMechanicalMemoryCalculator
java.lang.Object
org.apache.drill.exec.physical.impl.join.HashJoinMechanicalMemoryCalculator
- All Implemented Interfaces:
HashJoinMemoryCalculator,HashJoinStateCalculator<HashJoinMemoryCalculator.BuildSidePartitioning>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface org.apache.drill.exec.physical.impl.join.HashJoinMemoryCalculator
HashJoinMemoryCalculator.BatchStat, HashJoinMemoryCalculator.BuildSidePartitioning, HashJoinMemoryCalculator.PartitionStat, HashJoinMemoryCalculator.PartitionStatSet, HashJoinMemoryCalculator.PostBuildCalculations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetState()The currentHashJoinStatecorresponding to this calculator.voidinitialize(boolean doMemoryCalc) next()Signifies that the current state is complete and returns the nextHashJoinStateCalculator.
-
Constructor Details
-
HashJoinMechanicalMemoryCalculator
public HashJoinMechanicalMemoryCalculator(int maxNumInMemBatches)
-
-
Method Details
-
initialize
public void initialize(boolean doMemoryCalc) - Specified by:
initializein interfaceHashJoinMemoryCalculator
-
next
Description copied from interface:HashJoinStateCalculatorSignifies that the current state is complete and returns the nextHashJoinStateCalculator. Returns null in the case where there is no next state.- Specified by:
nextin interfaceHashJoinStateCalculator<HashJoinMemoryCalculator.BuildSidePartitioning>- Returns:
- The next
HashJoinStateCalculatoror null if this was the last state.
-
getState
Description copied from interface:HashJoinStateCalculatorThe currentHashJoinStatecorresponding to this calculator.- Specified by:
getStatein interfaceHashJoinStateCalculator<HashJoinMemoryCalculator.BuildSidePartitioning>- Returns:
-