Package org.openrefine.sorting
Class Criterion
- java.lang.Object
-
- org.openrefine.sorting.Criterion
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BooleanCriterion
,DateCriterion
,NumberCriterion
,StringCriterion
public abstract class Criterion extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Criterion.KeyMaker
-
Field Summary
Fields Modifier and Type Field Description int
blankPosition
String
columnName
int
errorPosition
boolean
reverse
-
Constructor Summary
Constructors Constructor Description Criterion()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract 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).abstract String
getValueType()
-
-
-
Field Detail
-
columnName
public String columnName
-
blankPosition
public int blankPosition
-
errorPosition
public int errorPosition
-
reverse
public boolean reverse
-
-
Method Detail
-
getValueType
public abstract String getValueType()
-
createKeyMaker
public abstract 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).
-
-