Package org.nuxeo.ecm.core.storage.dbs
Class DBSSession.OrderByComparator
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.dbs.DBSSession.OrderByComparator
-
- All Implemented Interfaces:
Comparator<Map<String,Serializable>>
- Enclosing class:
- DBSSession
public static class DBSSession.OrderByComparator extends Object implements Comparator<Map<String,Serializable>>
-
-
Field Summary
Fields Modifier and Type Field Description protected OrderByClause
orderByClause
-
Constructor Summary
Constructors Constructor Description OrderByComparator(OrderByClause orderByClause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Map<String,Serializable> map1, Map<String,Serializable> map2)
-
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
-
orderByClause
protected final OrderByClause orderByClause
-
-
Constructor Detail
-
OrderByComparator
public OrderByComparator(OrderByClause orderByClause)
-
-
Method Detail
-
compare
public int compare(Map<String,Serializable> map1, Map<String,Serializable> map2)
- Specified by:
compare
in interfaceComparator<Map<String,Serializable>>
-
-