public abstract class DataFilter
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DataFilter() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
accept(DataRecord record)
Return whether the DataRecord is accepted by this filter.
|
java.util.Set<DataRecord> |
filterRecords(java.util.Collection<DataRecord> records)
Filter a collection of records.
|
public abstract boolean accept(DataRecord record)
record - the data record to match.public java.util.Set<DataRecord> filterRecords(java.util.Collection<DataRecord> records)
records - a collection of records