Package io.trino.sql.planner
Class SubPlan
- java.lang.Object
-
- io.trino.sql.planner.SubPlan
-
@Immutable public class SubPlan extends Object
-
-
Constructor Summary
Constructors Constructor Description SubPlan(PlanFragment fragment, List<SubPlan> children)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PlanFragment>getAllFragments()Flattens the subplan and returns all PlanFragments in the treeList<SubPlan>getChildren()PlanFragmentgetFragment()voidsanityCheck()
-
-
-
Constructor Detail
-
SubPlan
public SubPlan(PlanFragment fragment, List<SubPlan> children)
-
-
Method Detail
-
getFragment
public PlanFragment getFragment()
-
getAllFragments
public List<PlanFragment> getAllFragments()
Flattens the subplan and returns all PlanFragments in the tree
-
sanityCheck
public void sanityCheck()
-
-