Class RemoveRedundantTableScanPredicate
- java.lang.Object
-
- io.prestosql.sql.planner.iterative.rule.RemoveRedundantTableScanPredicate
-
- All Implemented Interfaces:
Rule<FilterNode>
public class RemoveRedundantTableScanPredicate extends Object implements Rule<FilterNode>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.prestosql.sql.planner.iterative.Rule
Rule.Context, Rule.Result
-
-
Constructor Summary
Constructors Constructor Description RemoveRedundantTableScanPredicate(Metadata metadata, TypeOperators typeOperators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rule.Result
apply(FilterNode filterNode, Captures captures, Rule.Context context)
Pattern<FilterNode>
getPattern()
Returns a pattern to which plan nodes this rule applies.
-
-
-
Constructor Detail
-
RemoveRedundantTableScanPredicate
public RemoveRedundantTableScanPredicate(Metadata metadata, TypeOperators typeOperators)
-
-
Method Detail
-
getPattern
public Pattern<FilterNode> getPattern()
Description copied from interface:Rule
Returns a pattern to which plan nodes this rule applies.- Specified by:
getPattern
in interfaceRule<FilterNode>
-
apply
public Rule.Result apply(FilterNode filterNode, Captures captures, Rule.Context context)
- Specified by:
apply
in interfaceRule<FilterNode>
-
-