com.espertech.esper.filter
Class InSetOfValuesEventProp

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

public class InSetOfValuesEventProp
extends java.lang.Object
implements FilterSpecParamInValue

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

See Also:
Serialized Form

Constructor Summary
InSetOfValuesEventProp(java.lang.String resultEventAsName, java.lang.String resultEventProperty, boolean isMustCoerce, java.lang.Class coercionType)
          Ctor.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Object getFilterValue(MatchedEventMap matchedEvents, ExprEvaluatorContext evaluatorContext)
          Returns the actual value to filter for from prior matching events
 java.lang.String getResultEventAsName()
          Returns the tag used for the event property.
 java.lang.String getResultEventProperty()
          Returns the event property name.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InSetOfValuesEventProp

public InSetOfValuesEventProp(java.lang.String resultEventAsName,
                              java.lang.String resultEventProperty,
                              boolean isMustCoerce,
                              java.lang.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 java.lang.Object getFilterValue(MatchedEventMap matchedEvents,
                                             ExprEvaluatorContext evaluatorContext)
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 java.lang.String getResultEventAsName()
Returns the tag used for the event property.

Returns:
tag

getResultEventProperty

public java.lang.String getResultEventProperty()
Returns the event property name.

Returns:
property name

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com