Class PushdownLimitIntoWindow
- java.lang.Object
-
- io.trino.sql.planner.iterative.rule.PushdownLimitIntoWindow
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.trino.sql.planner.iterative.Rule
Rule.Context, Rule.Result
-
-
Constructor Summary
Constructors Constructor Description PushdownLimitIntoWindow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rule.Resultapply(LimitNode node, Captures captures, Rule.Context context)Pattern<LimitNode>getPattern()Returns a pattern to which plan nodes this rule applies.booleanisEnabled(Session session)
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled(Session session)
-
getPattern
public Pattern<LimitNode> getPattern()
Description copied from interface:RuleReturns a pattern to which plan nodes this rule applies.- Specified by:
getPatternin interfaceRule<LimitNode>
-
apply
public Rule.Result apply(LimitNode node, Captures captures, Rule.Context context)
-
-