Package io.prestosql.sql.planner.plan
Class EnforceSingleRowNode
- java.lang.Object
-
- io.prestosql.sql.planner.plan.PlanNode
-
- io.prestosql.sql.planner.plan.EnforceSingleRowNode
-
@Immutable public class EnforceSingleRowNode extends PlanNode
-
-
Constructor Summary
Constructors Constructor Description EnforceSingleRowNode(PlanNodeId id, PlanNode source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(PlanVisitor<R,C> visitor, C context)
List<Symbol>
getOutputSymbols()
PlanNode
getSource()
List<PlanNode>
getSources()
PlanNode
replaceChildren(List<PlanNode> newChildren)
-
-
-
Constructor Detail
-
EnforceSingleRowNode
public EnforceSingleRowNode(PlanNodeId id, PlanNode source)
-
-
Method Detail
-
getSources
public List<PlanNode> getSources()
- Specified by:
getSources
in classPlanNode
-
getOutputSymbols
public List<Symbol> getOutputSymbols()
- Specified by:
getOutputSymbols
in classPlanNode
-
getSource
public PlanNode getSource()
-
accept
public <R,C> R accept(PlanVisitor<R,C> visitor, C context)
-
replaceChildren
public PlanNode replaceChildren(List<PlanNode> newChildren)
- Specified by:
replaceChildren
in classPlanNode
-
-