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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMake any needed adjustments to the query plan before parallelization.voidProvide 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:QueryResourceAllocatorMake any needed adjustments to the query plan before parallelization.- Specified by:
visitAbstractPlanin interfaceQueryResourceAllocator- Parameters:
plan- physical plan
-
visitPhysicalPlan
Description copied from interface:QueryResourceAllocatorProvide 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:
visitPhysicalPlanin interfaceQueryResourceAllocator- Parameters:
work- query work unit
-
getQueryContext
-