Package io.trino.sql.planner.plan
Class LimitNode
java.lang.Object
io.trino.sql.planner.plan.PlanNode
io.trino.sql.planner.plan.LimitNode
-
Constructor Summary
ConstructorsConstructorDescriptionLimitNode(PlanNodeId id, PlanNode source, long count, boolean partial) LimitNode(PlanNodeId id, PlanNode source, long count, Optional<OrderingScheme> tiesResolvingScheme, boolean partial, List<Symbol> preSortedInputs) -
Method Summary
Modifier and TypeMethodDescription<R,C> R accept(PlanVisitor<R, C> visitor, C context) longgetCount()booleanbooleanreplaceChildren(List<PlanNode> newChildren) boolean
-
Constructor Details
-
LimitNode
-
LimitNode
public LimitNode(PlanNodeId id, PlanNode source, long count, Optional<OrderingScheme> tiesResolvingScheme, boolean partial, List<Symbol> preSortedInputs)
-
-
Method Details
-
getSources
- Specified by:
getSourcesin classPlanNode
-
getSource
-
getCount
public long getCount() -
isWithTies
public boolean isWithTies() -
getTiesResolvingScheme
-
isPartial
public boolean isPartial() -
requiresPreSortedInputs
public boolean requiresPreSortedInputs() -
getPreSortedInputs
-
getOutputSymbols
- Specified by:
getOutputSymbolsin classPlanNode
-
accept
-
replaceChildren
- Specified by:
replaceChildrenin classPlanNode
-