Class ExpressionNumberComparisonRowFilter
java.lang.Object
com.google.refine.browsing.filters.ExpressionNumberComparisonRowFilter
- All Implemented Interfaces:
RowFilter
- Direct Known Subclasses:
ExpressionTimeComparisonRowFilter
Judge if a row matches by evaluating a given expression on the row, based on a particular
column, and checking the result. It's a match if the result satisfies some numeric comparisons,
or if the result is non-numeric or blank or error and we want non-numeric or blank or error
values.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final RowEvaluableprotected final booleanprotected final booleanprotected final booleanprotected final boolean -
Constructor Summary
ConstructorsConstructorDescriptionExpressionNumberComparisonRowFilter(RowEvaluable rowEvaluable, boolean selectNumeric, boolean selectNonNumeric, boolean selectBlank, boolean selectError) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleancheckValue(double d) protected booleancheckValue(Object v) boolean
-
Field Details
-
_rowEvaluable
-
_selectNumeric
protected final boolean _selectNumeric -
_selectNonNumeric
protected final boolean _selectNonNumeric -
_selectBlank
protected final boolean _selectBlank -
_selectError
protected final boolean _selectError
-
-
Constructor Details
-
ExpressionNumberComparisonRowFilter
public ExpressionNumberComparisonRowFilter(RowEvaluable rowEvaluable, boolean selectNumeric, boolean selectNonNumeric, boolean selectBlank, boolean selectError)
-
-
Method Details