Class DefaultResourceManager.DefaultResourceAllocator
java.lang.Object
org.apache.drill.exec.work.foreman.rm.DefaultResourceManager.DefaultResourceAllocator
- All Implemented Interfaces:
QueryResourceAllocator
- Direct Known Subclasses:
DefaultResourceManager.DefaultQueryResourceManager
- Enclosing class:
- DefaultResourceManager
public static class DefaultResourceManager.DefaultResourceAllocator
extends Object
implements QueryResourceAllocator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Make any needed adjustments to the query plan before parallelization.void
Provide the manager with the physical plan and node assignments for the query to be run.
-
Constructor Details
-
DefaultResourceAllocator
-
-
Method Details
-
visitAbstractPlan
Description copied from interface:QueryResourceAllocator
Make any needed adjustments to the query plan before parallelization.- Specified by:
visitAbstractPlan
in interfaceQueryResourceAllocator
- Parameters:
plan
- physical plan
-
visitPhysicalPlan
Description copied from interface:QueryResourceAllocator
Provide the manager with the physical plan and node assignments for the query to be run. This class will plan memory for the query.- Specified by:
visitPhysicalPlan
in interfaceQueryResourceAllocator
- Parameters:
work
- query work unit
-
getQueryContext
-