net.esper.filter
Class InSetOfValuesConstant

java.lang.Object
  extended by net.esper.filter.InSetOfValuesConstant
All Implemented Interfaces:
FilterSpecParamInValue

public class InSetOfValuesConstant
extends Object
implements FilterSpecParamInValue

Constant value in a list of values following an in-keyword.


Constructor Summary
InSetOfValuesConstant(Object constant)
           
 
Method Summary
 boolean equals(Object obj)
           
 Object getFilterValue(MatchedEventMap matchedEvents)
          Returns the actual value to filter for from prior matching events
 Class validate(Map<String,EventType> taggedEventTypes)
          Check the type of the property against the map of event tag and type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InSetOfValuesConstant

public InSetOfValuesConstant(Object constant)
Method Detail

validate

public final Class validate(Map<String,EventType> taggedEventTypes)
Description copied from interface: FilterSpecParamInValue
Check the type of the property against the map of event tag and type.

Specified by:
validate in interface FilterSpecParamInValue
Parameters:
taggedEventTypes - map of event tags and types
Returns:
value type

getFilterValue

public final Object getFilterValue(MatchedEventMap matchedEvents)
Description copied from interface: FilterSpecParamInValue
Returns the actual value to filter for from prior matching events

Specified by:
getFilterValue in interface FilterSpecParamInValue
Parameters:
matchedEvents - is a map of matching events
Returns:
filter-for value

equals

public boolean equals(Object obj)
Overrides:
equals in class Object