net.esper.filter
Class FilterSpecParamIn
java.lang.Object
net.esper.filter.FilterSpecParam
net.esper.filter.FilterSpecParamIn
- All Implemented Interfaces:
- Serializable, MetaDefItem
public final class FilterSpecParamIn
- extends FilterSpecParam
This class represents a 'in' filter parameter in an FilterSpecCompiled
filter specification.
The 'in' checks for a list of values.
- See Also:
- Serialized Form
FilterSpecParamIn
public FilterSpecParamIn(String propertyName,
FilterOperator filterOperator,
List<FilterSpecParamInValue> listofValues)
throws IllegalArgumentException
- Ctor.
- Parameters:
propertyName
- is the event property namefilterOperator
- is expected to be the IN-list operatorlistofValues
- is a list of constants and event property names
- Throws:
IllegalArgumentException
- for illegal args
getFilterValue
public final Object getFilterValue(MatchedEventMap matchedEvents)
- Description copied from class:
FilterSpecParam
- Return the filter parameter constant to filter for.
- Specified by:
getFilterValue
in class FilterSpecParam
- Parameters:
matchedEvents
- is the prior results that can be used to determine filter parameters
- Returns:
- filter parameter constant's value
getListOfValues
public List<FilterSpecParamInValue> getListOfValues()
- Returns the list of values we are asking to match.
- Returns:
- list of filter values
toString
public final String toString()
- Overrides:
toString
in class FilterSpecParam
equals
public boolean equals(Object obj)
- Overrides:
equals
in class FilterSpecParam
hashCode
public int hashCode()
- Overrides:
hashCode
in class FilterSpecParam