public interface QueryResourceAllocator
ResourceManager. Handles memory and CPU allocation. Instances of this class handle query planning and are used when the client wants to plan the query, but not execute it. An implementation of
QueryResourceManageris used to both plan the query and queue it for execution.
This interface allows a variety of resource management strategies to exist for different purposes.
The methods here assume external synchronization: a single query calls the methods at known times; there are no concurrent calls.
|Modifier and Type||Method and Description|
Make any needed adjustments to the query plan before parallelization.
Provide the manager with the physical plan and node assignments for the query to be run.
void visitAbstractPlan(PhysicalPlan plan)
plan- physical plan
void visitPhysicalPlan(QueryWorkUnit work)
work- query work unit
Copyright © 1970 The Apache Software Foundation. All rights reserved.