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, traversepublic QueueQueryParallelizer(boolean memoryPlanning,
QueryContext queryContext)
public BiFunction<CoordinationProtos.DrillbitEndpoint,PhysicalOperator,Long> getMemory()
getMemory in class SimpleParallelizerpublic void adjustMemory(PlanningSet planningSet, Set<Wrapper> roots, Collection<CoordinationProtos.DrillbitEndpoint> activeEndpoints) throws PhysicalOperatorSetupException
adjustMemory in class SimpleParallelizerplanningSet - context of the fragments.roots - root fragments.activeEndpoints - currently active endpoints.PhysicalOperatorSetupExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.