Class RuleQueue.RelImportanceComparator

  • All Implemented Interfaces:
    java.util.Comparator<RelSubset>
    Enclosing class:
    RuleQueue

    private class RuleQueue.RelImportanceComparator
    extends java.lang.Object
    implements java.util.Comparator<RelSubset>
    Compares RelNode objects according to their cached 'importance'.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(RelSubset rel1, RelSubset rel2)  
      • 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

      • RelImportanceComparator

        private RelImportanceComparator()
    • Method Detail

      • compare

        public int compare​(RelSubset rel1,
                           RelSubset rel2)
        Specified by:
        compare in interface java.util.Comparator<RelSubset>