Uses of Class
org.apache.drill.exec.ops.QueryContext
Packages that use QueryContext
Package
Description
This package contains the configuration components of ResourceManagement feature in Drill.
Defines all the selection policy implementation which can be configured with Resource Management.
Defines all the Selectors which can be assigned to a ResourcePool in the ResourceManagement configuration.
Provides resource management and queuing support for the Drill foreman.
-
Uses of QueryContext in org.apache.drill.exec.ops
Constructors in org.apache.drill.exec.ops with parameters of type QueryContextModifierConstructorDescriptionFragmentContextImpl
(DrillbitContext dbContext, BitControl.PlanFragment fragment, QueryContext queryContext, UserClientConnection connection, FunctionImplementationRegistry funcRegistry) Create a FragmentContext instance for root fragment.ViewExpansionContext
(QueryContext queryContext) -
Uses of QueryContext in org.apache.drill.exec.opt
Constructors in org.apache.drill.exec.opt with parameters of type QueryContextModifierConstructorDescriptionBasicOptimizer
(QueryContext queryContext, UserClientConnection userSession) -
Uses of QueryContext in org.apache.drill.exec.physical.base
Methods in org.apache.drill.exec.physical.base with parameters of type QueryContextModifier and TypeMethodDescriptionboolean
AbstractBase.isBufferedOperator
(QueryContext queryContext) Any operator that supports spilling should override this method (and return true)boolean
PhysicalOperator.isBufferedOperator
(QueryContext queryContext) -
Uses of QueryContext in org.apache.drill.exec.physical.config
Methods in org.apache.drill.exec.physical.config with parameters of type QueryContextModifier and TypeMethodDescriptionboolean
ExternalSort.isBufferedOperator
(QueryContext queryContext) The External Sort operator supports spillingboolean
HashAggregate.isBufferedOperator
(QueryContext queryContext) The Hash Aggregate operator supports spillingboolean
HashJoinPOP.isBufferedOperator
(QueryContext queryContext) The Hash Aggregate operator supports spillingboolean
SetOp.isBufferedOperator
(QueryContext queryContext) -
Uses of QueryContext in org.apache.drill.exec.planner.common
Methods in org.apache.drill.exec.planner.common with parameters of type QueryContextModifier and TypeMethodDescriptionstatic PhysicalPlan
DrillStatsTable.direct
(QueryContext context, boolean outcome, String message, Object... values) static PhysicalPlan
DrillStatsTable.notRequired
(QueryContext context, String tbl) static PhysicalPlan
DrillStatsTable.notSupported
(QueryContext context, String tbl) -
Uses of QueryContext in org.apache.drill.exec.planner.fragment
Methods in org.apache.drill.exec.planner.fragment with parameters of type QueryContextConstructors in org.apache.drill.exec.planner.fragment with parameters of type QueryContextModifierConstructorDescriptionBufferedOpFinder
(QueryContext queryContext) DefaultQueryParallelizer
(boolean memoryAvailableInPlan, QueryContext queryContext) MemoryCalculator
(PlanningSet planningSet, QueryContext context) QueueQueryParallelizer
(boolean memoryPlanning, QueryContext queryContext) protected
SimpleParallelizer
(QueryContext context) -
Uses of QueryContext in org.apache.drill.exec.planner.fragment.contrib
Constructors in org.apache.drill.exec.planner.fragment.contrib with parameters of type QueryContextModifierConstructorDescriptionSplittingParallelizer
(boolean doMemoryPlanning, QueryContext context) -
Uses of QueryContext in org.apache.drill.exec.planner.physical
Methods in org.apache.drill.exec.planner.physical that return QueryContextConstructors in org.apache.drill.exec.planner.physical with parameters of type QueryContextModifierConstructorDescriptionPhysicalPlanCreator
(QueryContext context, Map<Prel, PrelSequencer.OpId> opIdMap) -
Uses of QueryContext in org.apache.drill.exec.planner.physical.visitor
Methods in org.apache.drill.exec.planner.physical.visitor with parameters of type QueryContextModifier and TypeMethodDescriptionstatic Prel
RuntimeFilterVisitor.addRuntimeFilter
(Prel prel, QueryContext queryContext) -
Uses of QueryContext in org.apache.drill.exec.planner.sql
Methods in org.apache.drill.exec.planner.sql with parameters of type QueryContextModifier and TypeMethodDescriptionstatic PhysicalPlan
DirectPlan.createDirectPlan
(QueryContext context, boolean result, String message) static <T> PhysicalPlan
DirectPlan.createDirectPlan
(QueryContext context, T obj) static PhysicalPlan
DrillSqlWorker.getPlan
(QueryContext context, String sql) Converts sql query string into query physical plan.static PhysicalPlan
DrillSqlWorker.getPlan
(QueryContext context, String sql, Pointer<String> textPlan) Converts sql query string into query physical plan. -
Uses of QueryContext in org.apache.drill.exec.planner.sql.conversion
Constructors in org.apache.drill.exec.planner.sql.conversion with parameters of type QueryContext -
Uses of QueryContext in org.apache.drill.exec.planner.sql.handlers
Fields in org.apache.drill.exec.planner.sql.handlers declared as QueryContextModifier and TypeFieldDescriptionprotected final QueryContext
DefaultSqlHandler.context
protected QueryContext
ViewHandler.context
Methods in org.apache.drill.exec.planner.sql.handlers that return QueryContextMethods in org.apache.drill.exec.planner.sql.handlers with parameters of type QueryContextModifier and TypeMethodDescriptionstatic void
ExplainHandler.printPlan
(Prel node, QueryContext context) Constructors in org.apache.drill.exec.planner.sql.handlers with parameters of type QueryContextModifierConstructorDescriptionLogicalExplain
(org.apache.calcite.rel.RelNode node, org.apache.calcite.sql.SqlExplainLevel level, QueryContext context) PhysicalExplain
(org.apache.calcite.rel.RelNode node, PhysicalPlan plan, org.apache.calcite.sql.SqlExplainLevel level, QueryContext context) ResetOptionHandler
(QueryContext context) Class constructor.SetOptionHandler
(QueryContext context) SqlHandlerConfig
(QueryContext context, SqlConverter converter) UseSchemaHandler
(QueryContext context) -
Uses of QueryContext in org.apache.drill.exec.planner.sql.parser
Methods in org.apache.drill.exec.planner.sql.parser with parameters of type QueryContextModifier and TypeMethodDescriptionstatic UnsupportedOperatorsVisitor
UnsupportedOperatorsVisitor.createVisitor
(QueryContext context) -
Uses of QueryContext in org.apache.drill.exec.resourcemgr.config
Methods in org.apache.drill.exec.resourcemgr.config with parameters of type QueryContextModifier and TypeMethodDescriptionResourcePoolTree.selectAllQueues
(QueryContext queryContext) ResourcePoolTreeImpl.selectAllQueues
(QueryContext queryContext) CreatesQueueAssignmentResult
which contains list of all selected leaf ResourcePools and all the rejected ResourcePools for the provided query.ResourcePoolTree.selectOneQueue
(QueryContext queryContext, NodeResources queryMaxNodeResource) ResourcePoolTreeImpl.selectOneQueue
(QueryContext queryContext, NodeResources queryMaxNodeResource) Selects a leaf queue out of all the possibles leaf queues returned byResourcePoolTree.selectAllQueues(QueryContext)
for a given query based on the configuredQueueSelectionPolicy
.void
ResourcePool.visitAndSelectPool
(QueueAssignmentResult assignmentResult, QueryContext queryContext) Evaluates this pool selector to see if the query can be admitted in this pool.void
ResourcePoolImpl.visitAndSelectPool
(QueueAssignmentResult assignmentResult, QueryContext queryContext) Used to determine if a ResourcePool is selected for a given query or not. -
Uses of QueryContext in org.apache.drill.exec.resourcemgr.config.selectionpolicy
Methods in org.apache.drill.exec.resourcemgr.config.selectionpolicy with parameters of type QueryContextModifier and TypeMethodDescriptionabstract ResourcePool
AbstractQueueSelectionPolicy.selectQueue
(List<ResourcePool> allPools, QueryContext queryContext, NodeResources maxResourcePerNode) BestFitQueueSelection.selectQueue
(List<ResourcePool> allPools, QueryContext queryContext, NodeResources maxResourcePerNode) DefaultQueueSelection.selectQueue
(List<ResourcePool> allPools, QueryContext queryContext, NodeResources maxResourcePerNode) QueueSelectionPolicy.selectQueue
(List<ResourcePool> allPools, QueryContext queryContext, NodeResources maxResourcePerNode) RandomQueueSelection.selectQueue
(List<ResourcePool> allPools, QueryContext queryContext, NodeResources maxResourcePerNode) -
Uses of QueryContext in org.apache.drill.exec.resourcemgr.config.selectors
Methods in org.apache.drill.exec.resourcemgr.config.selectors with parameters of type QueryContextModifier and TypeMethodDescriptionabstract boolean
AbstractResourcePoolSelector.isQuerySelected
(QueryContext queryContext) boolean
AclSelector.isQuerySelected
(QueryContext queryContext) Determines if a given query is selected by this ACL selector of a Resource Pool or not.boolean
AndSelector.isQuerySelected
(QueryContext queryContext) abstract boolean
ComplexSelectors.isQuerySelected
(QueryContext queryContext) boolean
DefaultSelector.isQuerySelected
(QueryContext queryContext) boolean
NotEqualSelector.isQuerySelected
(QueryContext queryContext) boolean
OrSelector.isQuerySelected
(QueryContext queryContext) boolean
ResourcePoolSelector.isQuerySelected
(QueryContext queryContext) boolean
TagSelector.isQuerySelected
(QueryContext queryContext) -
Uses of QueryContext in org.apache.drill.exec.util
Methods in org.apache.drill.exec.util with parameters of type QueryContextModifier and TypeMethodDescriptionstatic List<PhysicalOperator>
MemoryAllocationUtilities.getBufferedOperators
(List<PhysicalOperator> operators, QueryContext queryContext) static void
MemoryAllocationUtilities.setupBufferedMemoryAllocations
(PhysicalPlan plan, QueryContext queryContext) static void
MemoryAllocationUtilities.setupBufferedOpsMemoryAllocations
(boolean planHasMemory, List<PhysicalOperator> bufferedOperators, QueryContext queryContext) Helper method to setup Memory Allocations -
Uses of QueryContext in org.apache.drill.exec.work.foreman
Methods in org.apache.drill.exec.work.foreman that return QueryContextModifier and TypeMethodDescriptionForeman.getQueryContext()
Get the QueryContext created for the query. -
Uses of QueryContext in org.apache.drill.exec.work.foreman.rm
Fields in org.apache.drill.exec.work.foreman.rm declared as QueryContextModifier and TypeFieldDescriptionprotected QueryContext
ThrottledResourceManager.QueuedResourceAllocator.queryContext
Methods in org.apache.drill.exec.work.foreman.rm that return QueryContextModifier and TypeMethodDescriptionDefaultResourceManager.DefaultResourceAllocator.getQueryContext()
ThrottledResourceManager.QueuedResourceAllocator.getQueryContext()
Methods in org.apache.drill.exec.work.foreman.rm with parameters of type QueryContextModifier and TypeMethodDescriptionDefaultResourceManager.newResourceAllocator
(QueryContext queryContext) DistributedResourceManager.newResourceAllocator
(QueryContext queryContext) DynamicResourceManager.newResourceAllocator
(QueryContext queryContext) ResourceManager.newResourceAllocator
(QueryContext queryContext) Create a resource manager to prepare or describe a query.ThrottledResourceManager.newResourceAllocator
(QueryContext queryContext) Constructors in org.apache.drill.exec.work.foreman.rm with parameters of type QueryContextModifierConstructorDescriptionprotected
DefaultResourceAllocator
(QueryContext queryContext) protected
QueuedResourceAllocator
(ThrottledResourceManager rm, QueryContext queryContext)