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