private static class RuleQueue.RuleMatchImportanceComparator extends Object implements Comparator<VolcanoRuleMatch>
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.| Modifier | Constructor and Description |
|---|---|
private |
RuleMatchImportanceComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(VolcanoRuleMatch match1,
VolcanoRuleMatch match2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(VolcanoRuleMatch match1, VolcanoRuleMatch match2)
compare in interface Comparator<VolcanoRuleMatch>Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.