Package io.trino.sql.planner.plan
Class TopNNode
java.lang.Object
io.trino.sql.planner.plan.PlanNode
io.trino.sql.planner.plan.TopNNode
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTopNNode(PlanNodeId id, PlanNode source, long count, OrderingScheme orderingScheme, TopNNode.Step step) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(PlanVisitor<R, C> visitor, C context) longgetCount()getStep()replaceChildren(List<PlanNode> newChildren)
-
Constructor Details
-
TopNNode
public TopNNode(PlanNodeId id, PlanNode source, long count, OrderingScheme orderingScheme, TopNNode.Step step)
-
-
Method Details
-
getSources
- Specified by:
getSourcesin classPlanNode
-
getSource
-
getOutputSymbols
- Specified by:
getOutputSymbolsin classPlanNode
-
getCount
public long getCount() -
getOrderingScheme
-
getStep
-
accept
-
replaceChildren
- Specified by:
replaceChildrenin classPlanNode
-