public final class FilterSpecParamIn extends FilterSpecParam
FilterSpecCompiled
filter specification.
The 'in' checks for a list of values.
EMPTY_PARAM_ARRAY, lookupable
Constructor and Description |
---|
FilterSpecParamIn(FilterSpecLookupable lookupable,
FilterOperator filterOperator,
java.util.List<FilterSpecParamInValue> listofValues)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getFilterValue(MatchedEventMap matchedEvents,
AgentInstanceContext agentInstanceContext)
Return the filter parameter constant to filter for.
|
java.util.List<FilterSpecParamInValue> |
getListOfValues()
Returns the list of values we are asking to match.
|
int |
hashCode() |
java.lang.String |
toString() |
getFilterOperator, getLookupable, toArray
public FilterSpecParamIn(FilterSpecLookupable lookupable, FilterOperator filterOperator, java.util.List<FilterSpecParamInValue> listofValues) throws java.lang.IllegalArgumentException
lookupable
- is the event property or functionfilterOperator
- is expected to be the IN-list operatorlistofValues
- is a list of constants and event property namesjava.lang.IllegalArgumentException
- for illegal argspublic final java.lang.Object getFilterValue(MatchedEventMap matchedEvents, AgentInstanceContext agentInstanceContext)
FilterSpecParam
getFilterValue
in class FilterSpecParam
matchedEvents
- is the prior results that can be used to determine filter parametersagentInstanceContext
- contextpublic java.util.List<FilterSpecParamInValue> getListOfValues()
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