Package io.trino.sql.planner.iterative
Class GroupReference
- java.lang.Object
-
- io.trino.sql.planner.plan.PlanNode
-
- io.trino.sql.planner.iterative.GroupReference
-
public class GroupReference extends PlanNode
-
-
Constructor Summary
Constructors Constructor Description GroupReference(PlanNodeId id, int groupId, List<Symbol> outputs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(PlanVisitor<R,C> visitor, C context)intgetGroupId()List<Symbol>getOutputSymbols()List<PlanNode>getSources()PlanNodereplaceChildren(List<PlanNode> newChildren)
-
-
-
Constructor Detail
-
GroupReference
public GroupReference(PlanNodeId id, int groupId, List<Symbol> outputs)
-
-
Method Detail
-
getGroupId
public int getGroupId()
-
getSources
public List<PlanNode> getSources()
- Specified by:
getSourcesin classPlanNode
-
accept
public <R,C> R accept(PlanVisitor<R,C> visitor, C context)
-
getOutputSymbols
public List<Symbol> getOutputSymbols()
- Specified by:
getOutputSymbolsin classPlanNode
-
replaceChildren
public PlanNode replaceChildren(List<PlanNode> newChildren)
- Specified by:
replaceChildrenin classPlanNode
-
-