public final class FilterSpecParamRange extends FilterSpecParam
FilterSpecCompiled
filter specification.EMPTY_PARAM_ARRAY, lookupable
Constructor and Description |
---|
FilterSpecParamRange(ExprFilterSpecLookupable lookupable,
FilterOperator filterOperator,
FilterSpecParamFilterForEval min,
FilterSpecParamFilterForEval max)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getFilterValue(MatchedEventMap matchedEvents,
ExprEvaluatorContext exprEvaluatorContext,
EngineImportService engineImportService,
java.lang.annotation.Annotation[] annotations)
Return the filter parameter constant to filter for.
|
FilterSpecParamFilterForEval |
getMax()
Returns the upper endpoint.
|
FilterSpecParamFilterForEval |
getMin()
Returns the lower endpoint.
|
int |
hashCode() |
java.lang.String |
toString() |
getFilterOperator, getLookupable, toArray
public FilterSpecParamRange(ExprFilterSpecLookupable lookupable, FilterOperator filterOperator, FilterSpecParamFilterForEval min, FilterSpecParamFilterForEval 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 exprEvaluatorContext, EngineImportService engineImportService, java.lang.annotation.Annotation[] annotations)
FilterSpecParam
getFilterValue
in class FilterSpecParam
matchedEvents
- is the prior results that can be used to determine filter parametersexprEvaluatorContext
- contextannotations
- @return filter parameter constant's valuepublic FilterSpecParamFilterForEval getMin()
public FilterSpecParamFilterForEval 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