Class PruneEmptyRules.PruneEmptyRule

All Implemented Interfaces:
SubstitutionRule, TransformationRule
Direct Known Subclasses:
PruneEmptyRules.RemoveEmptySingleRule
Enclosing class:
PruneEmptyRules

protected abstract static class PruneEmptyRules.PruneEmptyRule extends RelRule<PruneEmptyRules.PruneEmptyRule.Config> implements SubstitutionRule
Abstract prune empty rule that implements SubstitutionRule interface.
  • Constructor Details

  • Method Details

    • autoPruneOld

      public boolean autoPruneOld()
      Description copied from interface: SubstitutionRule
      Whether the planner should automatically prune old node when there is at least 1 equivalent rel generated by the rule.

      Default is false, the user needs to prune the old node manually in the rule.

      Specified by:
      autoPruneOld in interface SubstitutionRule