org.eigenbase.sarg
Class SargSetExpr.IntervalComparator
java.lang.Object
org.eigenbase.sarg.SargSetExpr.IntervalComparator
- All Implemented Interfaces:
- Comparator<SargInterval>
- Enclosing class:
- SargSetExpr
private static class SargSetExpr.IntervalComparator
- extends Object
- implements Comparator<SargInterval>
Comparator used in evaluateUnionOp. Intervals collate based on
{lowerBound, upperBound}.
SargSetExpr.IntervalComparator
SargSetExpr.IntervalComparator()
compare
public int compare(SargInterval i1,
SargInterval i2)
- Specified by:
compare
in interface Comparator<SargInterval>
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Comparator<SargInterval>
- Overrides:
equals
in class Object