net.esper.filter
Class InSetOfValuesEventProp

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

public class InSetOfValuesEventProp
extends Object
implements FilterSpecParamInValue

Event property value in a list of values following an in-keyword.


Constructor Summary
InSetOfValuesEventProp(String resultEventAsName, String resultEventProperty)
          Ctor.
 
Method Summary
 boolean equals(Object obj)
           
 Object getFilterValue(MatchedEventMap matchedEvents)
          Returns the actual value to filter for from prior matching events
 String getResultEventAsName()
          Returns the tag used for the event property.
 String getResultEventProperty()
          Returns the event property name.
 String toString()
           
 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, wait, wait, wait
 

Constructor Detail

InSetOfValuesEventProp

public InSetOfValuesEventProp(String resultEventAsName,
                              String resultEventProperty)
Ctor.

Parameters:
resultEventAsName - is the event tag
resultEventProperty - is the event property name
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

getResultEventAsName

public String getResultEventAsName()
Returns the tag used for the event property.

Returns:
tag

getResultEventProperty

public String getResultEventProperty()
Returns the event property name.

Returns:
property name

toString

public final String toString()
Overrides:
toString in class Object

equals

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