public static class ThrottledResourceManager.QueuedResourceAllocator extends Object implements QueryResourceAllocator
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ThrottledResourceManager.QueuedResourceAllocator.BufferedOpFinder
Searches a fragment operator tree to find buffered within that fragment.
|
| Modifier and Type | Field and Description |
|---|---|
protected PhysicalPlan |
plan |
protected QueryContext |
queryContext |
protected double |
queryCost |
protected ThrottledResourceManager |
rm |
protected QueryWorkUnit |
work |
| Modifier | Constructor and Description |
|---|---|
protected |
ThrottledResourceManager.QueuedResourceAllocator(ThrottledResourceManager rm,
QueryContext queryContext) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
queryMemoryPerNode() |
void |
visitAbstractPlan(PhysicalPlan plan)
Make any needed adjustments to the query plan before parallelization.
|
void |
visitPhysicalPlan(QueryWorkUnit work)
Provide the manager with the physical plan and node assignments
for the query to be run.
|
protected final ThrottledResourceManager rm
protected QueryContext queryContext
protected PhysicalPlan plan
protected QueryWorkUnit work
protected double queryCost
protected ThrottledResourceManager.QueuedResourceAllocator(ThrottledResourceManager rm, QueryContext queryContext)
public void visitAbstractPlan(PhysicalPlan plan)
QueryResourceAllocatorvisitAbstractPlan in interface QueryResourceAllocatorpublic void visitPhysicalPlan(QueryWorkUnit work)
QueryResourceAllocatorvisitPhysicalPlan in interface QueryResourceAllocatorprotected long queryMemoryPerNode()
Copyright © 2017 The Apache Software Foundation. All rights reserved.