Interface HashJoinStateCalculator<T extends HashJoinStateCalculator<?>>
- All Known Subinterfaces:
HashJoinMemoryCalculator,HashJoinMemoryCalculator.BuildSidePartitioning,HashJoinMemoryCalculator.PostBuildCalculations
- All Known Implementing Classes:
HashJoinMechanicalMemoryCalculator,HashJoinMechanicalMemoryCalculator.MechanicalBuildSidePartitioning,HashJoinMechanicalMemoryCalculator.MechanicalPostBuildCalculations,HashJoinMemoryCalculatorImpl,HashJoinMemoryCalculatorImpl.BuildSidePartitioningImpl,HashJoinMemoryCalculatorImpl.NoopBuildSidePartitioningImpl,HashJoinMemoryCalculatorImpl.NoopPostBuildCalculationsImpl,HashJoinMemoryCalculatorImpl.PostBuildCalculationsImpl
public interface HashJoinStateCalculator<T extends HashJoinStateCalculator<?>>
A
HashJoinStateCalculator is a piece of code that compute the memory requirements for one of the states
in the HashJoinState enum.-
Method Summary
Modifier and TypeMethodDescriptiongetState()The currentHashJoinStatecorresponding to this calculator.next()Signifies that the current state is complete and returns the nextHashJoinStateCalculator.
-
Method Details
-
next
Signifies that the current state is complete and returns the nextHashJoinStateCalculator. Returns null in the case where there is no next state.- Returns:
- The next
HashJoinStateCalculatoror null if this was the last state.
-
getState
HashJoinState getState()The currentHashJoinStatecorresponding to this calculator.- Returns:
-