com.lucidera.lcs
Class LcsIndexOptimizer.RowCountComparator
java.lang.Object
com.lucidera.lcs.LcsIndexOptimizer.RowCountComparator
- All Implemented Interfaces:
- Comparator<RelNode>
- Enclosing class:
- LcsIndexOptimizer
private static class LcsIndexOptimizer.RowCountComparator
- extends Object
- implements Comparator<RelNode>
RowCountComparator is used to sort RelNodes based on their rowcounts,
provided the counts are known. Unknown rowcounts are always sorted last.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LcsIndexOptimizer.RowCountComparator
private LcsIndexOptimizer.RowCountComparator()
compare
public int compare(RelNode r1,
RelNode r2)
- Specified by:
compare
in interface Comparator<RelNode>