Package mondrian.olap
Class Util.SqlNullSafeComparator
- java.lang.Object
-
- mondrian.olap.Util.SqlNullSafeComparator
-
- All Implemented Interfaces:
Comparator<Comparable>
- Enclosing class:
- Util
public static class Util.SqlNullSafeComparator extends Object implements Comparator<Comparable>
AComparator
implementation which can deal correctly withRolapUtil.sqlNullValue
.
-
-
Field Summary
Fields Modifier and Type Field Description static Util.SqlNullSafeComparator
instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Comparable o1, Comparable o2)
-
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
-
-
-
-
Field Detail
-
instance
public static final Util.SqlNullSafeComparator instance
-
-
Method Detail
-
compare
public int compare(Comparable o1, Comparable o2)
- Specified by:
compare
in interfaceComparator<Comparable>
-
-