|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.filter.FilterSpecParam
net.esper.filter.FilterSpecParamIn
public final class FilterSpecParamIn
This class represents a 'in' filter parameter in an FilterSpec
filter specification.
The 'in' checks for a list of values.
Constructor Summary | |
---|---|
FilterSpecParamIn(String propertyName,
FilterOperator filterOperator,
List<FilterSpecParamInValue> listofValues,
boolean isAllConstants,
Class propertyType)
Ctor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Object |
getFilterValue(MatchedEventMap matchedEvents)
Return the filter parameter constant to filter for. |
Class |
getFilterValueClass(Map<String,EventType> taggedEventTypes)
Return the filter parameter constant's class. |
List<FilterSpecParamInValue> |
getListOfValues()
Returns the list of values we are asking to match. |
String |
toString()
|
Methods inherited from class net.esper.filter.FilterSpecParam |
---|
getFilterOperator, getPropertyName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FilterSpecParamIn(String propertyName, FilterOperator filterOperator, List<FilterSpecParamInValue> listofValues, boolean isAllConstants, Class propertyType) throws IllegalArgumentException
propertyName
- is the event property namefilterOperator
- is expected to be the IN-list operatorlistofValues
- is a list of constants and event property namesisAllConstants
- true if there are only constants, nd false if there is one or more property in the valuespropertyType
- is the type of the property
IllegalArgumentException
- for illegal argsMethod Detail |
---|
public final Class getFilterValueClass(Map<String,EventType> taggedEventTypes)
FilterSpecParam
getFilterValueClass
in class FilterSpecParam
taggedEventTypes
- is the event types per event as-name (tag)
public final Object getFilterValue(MatchedEventMap matchedEvents)
FilterSpecParam
getFilterValue
in class FilterSpecParam
matchedEvents
- is the prior results that can be used to determine filter parameters
public List<FilterSpecParamInValue> getListOfValues()
public final String toString()
toString
in class FilterSpecParam
public boolean equals(Object obj)
equals
in class FilterSpecParam
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |