Package org.openrefine.model
Interface RowFilter
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DualExpressionsNumberComparisonRowFilter
,ExpressionEqualRowFilter
,ExpressionNumberComparisonRowFilter
,ExpressionStringComparisonRowFilter
,ExpressionTimeComparisonRowFilter
,ReconOperation.NonBlankRowFilter
,RowInRecordFilter
,ScatterplotRowFilter
public interface RowFilter extends Serializable
Interface for judging if a particular row matches or doesn't match some particular criterion, such as a facet constraint.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static RowFilter
conjunction(List<RowFilter> rowFilters)
A row filter which evaluates to true when all the supplied row filters do.static RowFilter
dropFilter(long rowsToDrop)
boolean
filterRow(long rowIndex, Row row)
static RowFilter
limitFilter(long limit)
static RowFilter
negate(RowFilter filter)
-
-
-
Field Detail
-
ANY_ROW
static final RowFilter ANY_ROW
Filter which accepts any row
-
-
Method Detail
-
filterRow
boolean filterRow(long rowIndex, Row row)
-
conjunction
static RowFilter conjunction(List<RowFilter> rowFilters)
A row filter which evaluates to true when all the supplied row filters do.
-
limitFilter
static RowFilter limitFilter(long limit)
-
dropFilter
static RowFilter dropFilter(long rowsToDrop)
-
-