public class TimeSpanFilter extends DataFilter
Constructor and Description |
---|
TimeSpanFilter(TimeSpan span,
java.lang.String fieldName)
Create a TimeSpanFilter with the given time span and field name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(DataRecord record)
Return whether the filter accepts the data record.
|
filterRecords
public TimeSpanFilter(TimeSpan span, java.lang.String fieldName)
span
- fieldName
- public boolean accept(DataRecord record)
accept
in class DataFilter
record
- the record