Package org.openrefine.sorting
Class NumberCriterion
- java.lang.Object
-
- org.openrefine.sorting.Criterion
-
- org.openrefine.sorting.NumberCriterion
-
- All Implemented Interfaces:
Serializable
public class NumberCriterion extends Criterion
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openrefine.sorting.Criterion
Criterion.KeyMaker
-
-
Field Summary
Fields Modifier and Type Field Description protected static EvalError
s_error
-
Fields inherited from class org.openrefine.sorting.Criterion
blankPosition, columnName, errorPosition, reverse
-
-
Constructor Summary
Constructors Constructor Description NumberCriterion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Criterion.KeyMaker
createKeyMaker(ColumnModel columnModel)
Instantiates the criterion on a particular column model, making it possible to compare two rows together (since we now have access to the column index of the target column).String
getValueType()
-
-
-
Field Detail
-
s_error
protected static final EvalError s_error
-
-
Method Detail
-
createKeyMaker
public Criterion.KeyMaker createKeyMaker(ColumnModel columnModel)
Description copied from class:Criterion
Instantiates the criterion on a particular column model, making it possible to compare two rows together (since we now have access to the column index of the target column).- Specified by:
createKeyMaker
in classCriterion
-
getValueType
public String getValueType()
- Specified by:
getValueType
in classCriterion
-
-