public class RecordFilterFactory
extends java.lang.Object
ChannelRecordFilter
instances.Modifier | Constructor and Description |
---|---|
protected |
RecordFilterFactory()
Creates a new instance of RecordFilters
|
Modifier and Type | Method and Description |
---|---|
static RecordFilter<ChannelTimeRecord> |
equalityDoubleFilter(double target)
Generate a filter to Filter records checking for equality to the specified value.
|
static RecordFilter<ChannelTimeRecord> |
exclusiveMaxDoubleFilter(double maxValue)
Filter records with an upper exclusive limit on the value
|
static RecordFilter<ChannelTimeRecord> |
exlusiveMinDoubleFilter(double minValue)
Filter records with a lower exclusive limit on the value
|
static RecordFilter<ChannelTimeRecord> |
maxDoubleFilter(double maxValue)
Filter records with an upper inclusive limit on the value
|
static RecordFilter<ChannelTimeRecord> |
maxSeverityFilter(int maxSeverity)
Filter records with an upper limit on the severity
|
static RecordFilter<ChannelTimeRecord> |
maxStatusFilter(int maxStatus)
Filter records with an upper limit on the status
|
static RecordFilter<ChannelTimeRecord> |
minDoubleFilter(double minValue)
Filter records with a lower inclusive limit on the value
|
static RecordFilter<ChannelTimeRecord> |
notFilter(RecordFilter<ChannelTimeRecord> filter)
Generate a filter to filter records by checking that the specified filter is not fulfilled.
|
static RecordFilter<ChannelTimeRecord> |
rangeDoubleFilter(double minValue,
double maxValue)
Filter records with an upper limit on the value
|
protected RecordFilterFactory()
public static RecordFilter<ChannelTimeRecord> notFilter(RecordFilter<ChannelTimeRecord> filter)
filter
- The filter to negatepublic static RecordFilter<ChannelTimeRecord> equalityDoubleFilter(double target)
target
- the target value against which to check for equalitypublic static RecordFilter<ChannelTimeRecord> minDoubleFilter(double minValue)
minValue
- lower limitpublic static RecordFilter<ChannelTimeRecord> exlusiveMinDoubleFilter(double minValue)
minValue
- lower limitpublic static RecordFilter<ChannelTimeRecord> maxDoubleFilter(double maxValue)
maxValue
- upper limitpublic static RecordFilter<ChannelTimeRecord> exclusiveMaxDoubleFilter(double maxValue)
maxValue
- upper limitpublic static RecordFilter<ChannelTimeRecord> rangeDoubleFilter(double minValue, double maxValue)
minValue
- Description of the ParametermaxValue
- Description of the Parameterpublic static RecordFilter<ChannelTimeRecord> maxStatusFilter(int maxStatus)
maxStatus
- Description of the Parameterpublic static RecordFilter<ChannelTimeRecord> maxSeverityFilter(int maxSeverity)
maxSeverity
- Description of the Parameter