Package org.openrefine.sorting
Class RecordSorter
- java.lang.Object
-
- org.openrefine.sorting.BaseSorter<Record>
-
- org.openrefine.sorting.RecordSorter
-
- All Implemented Interfaces:
Serializable
,Comparator<Record>
public class RecordSorter extends BaseSorter<Record>
- 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 RecordSorter(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, Record o)
-
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
-
RecordSorter
public RecordSorter(Grid state, SortingConfig config)
-
-
Method Detail
-
makeKey
protected Serializable makeKey(Criterion.KeyMaker keyMaker, Criterion c, Record o)
- Specified by:
makeKey
in classBaseSorter<Record>
-
-