public class QueueQueryParallelizer extends SimpleParallelizer
SimpleParallelizer.CountRequiredFragments
Constructor and Description |
---|
QueueQueryParallelizer(boolean memoryPlanning,
QueryContext queryContext) |
Modifier and Type | Method and Description |
---|---|
void |
adjustMemory(PlanningSet planningSet,
Set<Wrapper> roots,
Collection<CoordinationProtos.DrillbitEndpoint> activeEndpoints)
Function called by the SimpleParallelizer to adjust the memory post parallelization.
|
BiFunction<CoordinationProtos.DrillbitEndpoint,PhysicalOperator,Long> |
getMemory() |
collectStatsAndParallelizeFragments, generateWorkUnit, generateWorkUnit, getAffinityFactor, getMaxGlobalWidth, getMaxWidthPerNode, getRootFragments, getSliceTarget, getSplitFragments, initFragmentWrappers, prepareFragmentTree, traverse
public QueueQueryParallelizer(boolean memoryPlanning, QueryContext queryContext)
public BiFunction<CoordinationProtos.DrillbitEndpoint,PhysicalOperator,Long> getMemory()
getMemory
in class SimpleParallelizer
public void adjustMemory(PlanningSet planningSet, Set<Wrapper> roots, Collection<CoordinationProtos.DrillbitEndpoint> activeEndpoints) throws PhysicalOperatorSetupException
adjustMemory
in class SimpleParallelizer
planningSet
- context of the fragments.roots
- root fragments.activeEndpoints
- currently active endpoints.PhysicalOperatorSetupException
Copyright © 2022 The Apache Software Foundation. All rights reserved.