Class DefaultQueryParallelizer
java.lang.Object
org.apache.drill.exec.planner.fragment.SimpleParallelizer
org.apache.drill.exec.planner.fragment.DefaultQueryParallelizer
- All Implemented Interfaces:
ParallelizationParameters
,QueryParallelizer
- Direct Known Subclasses:
SplittingParallelizer
Non RM version of the parallelizer. The parallelization logic is fully inherited from SimpleParallelizer.
The memory computation of the operators is based on the earlier logic to assign memory for the buffered
operators.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.planner.fragment.SimpleParallelizer
SimpleParallelizer.CountRequiredFragments
-
Constructor Summary
ConstructorDescriptionDefaultQueryParallelizer
(boolean memoryPlanning, long parallelizationThreshold, int maxWidthPerNode, int maxGlobalWidth, double affinityFactor) DefaultQueryParallelizer
(boolean memoryAvailableInPlan, QueryContext queryContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
adjustMemory
(PlanningSet planningSet, Set<Wrapper> roots, Collection<CoordinationProtos.DrillbitEndpoint> activeEndpoints) Methods inherited from class org.apache.drill.exec.planner.fragment.SimpleParallelizer
collectStatsAndParallelizeFragments, generateWorkUnit, generateWorkUnit, getAffinityFactor, getMaxGlobalWidth, getMaxWidthPerNode, getRootFragments, getSliceTarget, getSplitFragments, initFragmentWrappers, prepareFragmentTree, traverse
-
Constructor Details
-
DefaultQueryParallelizer
-
DefaultQueryParallelizer
public DefaultQueryParallelizer(boolean memoryPlanning, long parallelizationThreshold, int maxWidthPerNode, int maxGlobalWidth, double affinityFactor)
-
-
Method Details
-
adjustMemory
public void adjustMemory(PlanningSet planningSet, Set<Wrapper> roots, Collection<CoordinationProtos.DrillbitEndpoint> activeEndpoints) - Specified by:
adjustMemory
in classSimpleParallelizer
-
getMemory
- Specified by:
getMemory
in classSimpleParallelizer
-