Package org.openrefine.sorting
Class RowSorter
- java.lang.Object
-
- org.openrefine.sorting.BaseSorter<IndexedRow>
-
- org.openrefine.sorting.RowSorter
-
- All Implemented Interfaces:
Serializable
,Comparator<IndexedRow>
public class RowSorter extends BaseSorter<IndexedRow>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openrefine.sorting.BaseSorter
BaseSorter.ComparatorWrapper
-
-
Field Summary
-
Fields inherited from class org.openrefine.sorting.BaseSorter
_comparatorWrappers, _criteria, _keyMakers
-
-
Constructor Summary
Constructors Constructor Description RowSorter(Grid state, SortingConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Serializable
makeKey(Criterion.KeyMaker keyMaker, Criterion c, IndexedRow row)
-
Methods inherited from class org.openrefine.sorting.BaseSorter
compare, hasCriteria, makeKeys
-
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
-
-
-
-
Constructor Detail
-
RowSorter
public RowSorter(Grid state, SortingConfig config)
-
-
Method Detail
-
makeKey
protected Serializable makeKey(Criterion.KeyMaker keyMaker, Criterion c, IndexedRow row)
- Specified by:
makeKey
in classBaseSorter<IndexedRow>
-
-