Class PushLimitThroughOffset
java.lang.Object
io.trino.sql.planner.iterative.rule.PushLimitThroughOffset
Transforms:
- Limit (row count x)
- Offset (row count y)
Into:
- Offset (row count y)
- Limit (row count x+y)
Applies to both limit with ties and limit without ties.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.sql.planner.iterative.Rule
Rule.Context, Rule.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(LimitNode parent, Captures captures, Rule.Context context) Returns a pattern to which plan nodes this rule applies.
-
Constructor Details
-
PushLimitThroughOffset
public PushLimitThroughOffset()
-
-
Method Details