Package org.openrefine.model
Interface RecordFilter
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AllRowsRecordFilter
,AnyRowRecordFilter
,DualExpressionsNumberComparisonRowFilter
,ExpressionEqualRowFilter
,ExpressionNumberComparisonRowFilter
,ExpressionStringComparisonRowFilter
,ExpressionTimeComparisonRowFilter
,RowInRecordFilter
,ScatterplotRowFilter
public interface RecordFilter extends Serializable
Interface for judging if a particular record matches or doesn't match some particular criterion, such as a facet constraint.
-
-
Field Summary
Fields Modifier and Type Field Description static RecordFilter
ANY_RECORD
A filter which accepts all records.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static RecordFilter
conjunction(List<RecordFilter> recordFilters)
A record filter which evaluates to true when all the supplied record filters do.boolean
filterRecord(Record record)
static RecordFilter
negate(RecordFilter filter)
-
-
-
Field Detail
-
ANY_RECORD
static final RecordFilter ANY_RECORD
A filter which accepts all records.
-
-
Method Detail
-
filterRecord
boolean filterRecord(Record record)
-
conjunction
static RecordFilter conjunction(List<RecordFilter> recordFilters)
A record filter which evaluates to true when all the supplied record filters do.
-
negate
static RecordFilter negate(RecordFilter filter)
-
-