public final class FilterSpecParamRange extends FilterSpecParam
FilterSpecCompiled
filter specification.EMPTY_PARAM_ARRAY
Constructor and Description |
---|
FilterSpecParamRange(FilterSpecLookupable lookupable,
FilterOperator filterOperator,
FilterSpecParamRangeValue min,
FilterSpecParamRangeValue max)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getFilterValue(MatchedEventMap matchedEvents,
ExprEvaluatorContext evaluatorContext)
Return the filter parameter constant to filter for.
|
FilterSpecParamRangeValue |
getMax()
Returns the upper endpoint.
|
FilterSpecParamRangeValue |
getMin()
Returns the lower endpoint.
|
int |
hashCode() |
java.lang.String |
toString() |
getFilterOperator, getLookupable, toArray
public FilterSpecParamRange(FilterSpecLookupable lookupable, FilterOperator filterOperator, FilterSpecParamRangeValue min, FilterSpecParamRangeValue max) throws java.lang.IllegalArgumentException
lookupable
- is the lookupablefilterOperator
- is the type of range operatormin
- is the begin point of the rangemax
- is the end point of the rangejava.lang.IllegalArgumentException
- if an operator was supplied that does not take a double range valuepublic final java.lang.Object getFilterValue(MatchedEventMap matchedEvents, ExprEvaluatorContext evaluatorContext)
FilterSpecParam
getFilterValue
in class FilterSpecParam
matchedEvents
- is the prior results that can be used to determine filter parameterspublic FilterSpecParamRangeValue getMin()
public FilterSpecParamRangeValue getMax()
public final java.lang.String toString()
toString
in class FilterSpecParam
public boolean equals(java.lang.Object obj)
equals
in class FilterSpecParam
public int hashCode()
hashCode
in class FilterSpecParam