com.espertech.esper.filter
Class InSetOfValuesConstant

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

public class InSetOfValuesConstant
extends Object
implements FilterSpecParamInValue

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

See Also:
Serialized Form

Constructor Summary
InSetOfValuesConstant(Object constant)
          Ctor.
 
Method Summary
 boolean equals(Object obj)
           
 Object getConstant()
          Returns the constant value.
 Object getFilterValue(MatchedEventMap matchedEvents)
          Returns the actual value to filter for from prior matching events
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InSetOfValuesConstant

public InSetOfValuesConstant(Object constant)
Ctor.

Parameters:
constant - is the constant value
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

getConstant

public Object getConstant()
Returns the constant value.

Returns:
constant

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com