Package org.apache.drill.exec.work
Class QueryWorkUnit
java.lang.Object
org.apache.drill.exec.work.QueryWorkUnit
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Definition of a minor fragment that contains the (unserialized) fragment operator tree and the (partially built) fragment. -
Constructor Summary
ConstructorDescriptionQueryWorkUnit
(FragmentRoot rootOperator, QueryWorkUnit.MinorFragmentDefn rootFragmentDefn, List<QueryWorkUnit.MinorFragmentDefn> minorFragmentDefns, Wrapper rootWrapper) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyPlan
(PhysicalPlanReader reader) Converts list of stored fragments into their string representation, in case of exception returns text indicating that string was malformed.
-
Constructor Details
-
QueryWorkUnit
public QueryWorkUnit(FragmentRoot rootOperator, QueryWorkUnit.MinorFragmentDefn rootFragmentDefn, List<QueryWorkUnit.MinorFragmentDefn> minorFragmentDefns, Wrapper rootWrapper)
-
-
Method Details
-
getRootFragment
-
getRootFragmentDefn
-
getFragments
-
getMinorFragmentDefns
-
getRootOperator
-
applyPlan
- Throws:
ForemanSetupException
-
stringifyFragments
Converts list of stored fragments into their string representation, in case of exception returns text indicating that string was malformed. Is used for debugging purposes.- Returns:
- fragments information
-
getRootWrapper
-