net.esper.filter
Class InSetOfValuesEventProp

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

public class InSetOfValuesEventProp
extends Object
implements FilterSpecParamInValue

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

See Also:
Serialized Form

Constructor Summary
InSetOfValuesEventProp(String resultEventAsName, String resultEventProperty, boolean isMustCoerce, Class coercionType)
          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.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InSetOfValuesEventProp

public InSetOfValuesEventProp(String resultEventAsName,
                              String resultEventProperty,
                              boolean isMustCoerce,
                              Class coercionType)
Ctor.

Parameters:
resultEventAsName - is the event tag
resultEventProperty - is the event property name
isMustCoerce - indicates on whether numeric coercion must be performed
coercionType - indicates the numeric coercion type to use
Method Detail

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object