Class PushTopNThroughProject
java.lang.Object
io.trino.sql.planner.iterative.rule.PushTopNThroughProject
Transforms:
- TopN
- Project (non-identity)
- Source other than Filter(TableScan) or TableScan
Into:
- Project
- TopN
- Source
-
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(TopNNode parent, Captures captures, Rule.Context context) Returns a pattern to which plan nodes this rule applies.