Class FragmentsRunner
java.lang.Object
org.apache.drill.exec.work.foreman.FragmentsRunner
Is responsible for submitting query fragments for running (locally and remotely).
-
Constructor Summary
ConstructorDescriptionFragmentsRunner
(WorkManager.WorkerBee bee, UserClientConnection initiatingClient, DrillbitContext drillbitContext, Foreman foreman) -
Method Summary
Modifier and TypeMethodDescriptiongetBee()
void
setFragmentsInfo
(List<BitControl.PlanFragment> planFragments, BitControl.PlanFragment rootPlanFragment, FragmentRoot rootOperator) void
submit()
Submits root and non-root fragments fragments for running.
-
Constructor Details
-
FragmentsRunner
public FragmentsRunner(WorkManager.WorkerBee bee, UserClientConnection initiatingClient, DrillbitContext drillbitContext, Foreman foreman)
-
-
Method Details
-
getBee
-
setFragmentsInfo
public void setFragmentsInfo(List<BitControl.PlanFragment> planFragments, BitControl.PlanFragment rootPlanFragment, FragmentRoot rootOperator) -
submit
Submits root and non-root fragments fragments for running. In case of success move query to the running state.- Throws:
ExecutionSetupException
-