public class QueryWorkUnit extends Object
Modifier and Type | Class and Description |
---|---|
static class |
QueryWorkUnit.MinorFragmentDefn
Definition of a minor fragment that contains the (unserialized) fragment operator
tree and the (partially built) fragment.
|
Constructor and Description |
---|
QueryWorkUnit(FragmentRoot rootOperator,
QueryWorkUnit.MinorFragmentDefn rootFragmentDefn,
List<QueryWorkUnit.MinorFragmentDefn> minorFragmentDefns,
Wrapper rootWrapper) |
Modifier and Type | Method and Description |
---|---|
void |
applyPlan(PhysicalPlanReader reader) |
List<BitControl.PlanFragment> |
getFragments() |
List<QueryWorkUnit.MinorFragmentDefn> |
getMinorFragmentDefns() |
BitControl.PlanFragment |
getRootFragment() |
QueryWorkUnit.MinorFragmentDefn |
getRootFragmentDefn() |
FragmentRoot |
getRootOperator() |
Wrapper |
getRootWrapper() |
String |
stringifyFragments()
Converts list of stored fragments into their string representation,
in case of exception returns text indicating that string was malformed.
|
public QueryWorkUnit(FragmentRoot rootOperator, QueryWorkUnit.MinorFragmentDefn rootFragmentDefn, List<QueryWorkUnit.MinorFragmentDefn> minorFragmentDefns, Wrapper rootWrapper)
public BitControl.PlanFragment getRootFragment()
public QueryWorkUnit.MinorFragmentDefn getRootFragmentDefn()
public List<BitControl.PlanFragment> getFragments()
public List<QueryWorkUnit.MinorFragmentDefn> getMinorFragmentDefns()
public FragmentRoot getRootOperator()
public void applyPlan(PhysicalPlanReader reader) throws ForemanSetupException
ForemanSetupException
public String stringifyFragments()
public Wrapper getRootWrapper()
Copyright © 1970 The Apache Software Foundation. All rights reserved.