@Immutable public class TopNNode extends PlanNode
Modifier and Type | Class and Description |
---|---|
static class |
TopNNode.Step |
Constructor and Description |
---|
TopNNode(PlanNodeId id,
PlanNode source,
long count,
OrderingScheme orderingScheme,
TopNNode.Step step) |
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(PlanVisitor<R,C> visitor,
C context) |
long |
getCount() |
OrderingScheme |
getOrderingScheme() |
List<Symbol> |
getOutputSymbols() |
PlanNode |
getSource() |
List<PlanNode> |
getSources() |
TopNNode.Step |
getStep() |
PlanNode |
replaceChildren(List<PlanNode> newChildren) |
public TopNNode(PlanNodeId id, PlanNode source, long count, OrderingScheme orderingScheme, TopNNode.Step step)
public List<PlanNode> getSources()
getSources
in class PlanNode
public PlanNode getSource()
public List<Symbol> getOutputSymbols()
getOutputSymbols
in class PlanNode
public long getCount()
public OrderingScheme getOrderingScheme()
public TopNNode.Step getStep()
public <R,C> R accept(PlanVisitor<R,C> visitor, C context)
public PlanNode replaceChildren(List<PlanNode> newChildren)
replaceChildren
in class PlanNode
Copyright © 2012–2019. All rights reserved.