Class RuleQueue.RuleMatchImportanceComparator

  • All Implemented Interfaces:
    Enclosing class:

    private static class RuleQueue.RuleMatchImportanceComparator
    extends java.lang.Object
    implements java.util.Comparator<VolcanoRuleMatch>
    Compares VolcanoRuleMatch objects according to their importance. Matches which are more important collate earlier. Ties are adjudicated by comparing the ids of the relational expressions matched.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(VolcanoRuleMatch match1, VolcanoRuleMatch match2)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • RuleMatchImportanceComparator

        private RuleMatchImportanceComparator()