Class PruneEmptyRules.RemoveEmptySingleRule

All Implemented Interfaces:
SubstitutionRule, TransformationRule
Enclosing class:
PruneEmptyRules

public static class PruneEmptyRules.RemoveEmptySingleRule extends PruneEmptyRules.PruneEmptyRule
Rule that converts a relation into empty.

The users can control the application of the rule by:

  • calling the appropriate constructor and passing the necessary configuration;
  • extending the class through inheritance and overriding RelOptRule.matches(RelOptRuleCall)).

When using the deprecated constructors it is only possible to convert relations which strictly have a single input (SingleRel).