com.espertech.esper.filter
Class InSetOfValuesConstant

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

public class InSetOfValuesConstant
extends java.lang.Object
implements FilterSpecParamInValue

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

See Also:
Serialized Form

Constructor Summary
InSetOfValuesConstant(java.lang.Object constant)
          Ctor.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object getConstant()
          Returns the constant value.
 java.lang.Object getFilterValue(MatchedEventMap matchedEvents, ExprEvaluatorContext evaluatorContext)
          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(java.lang.Object constant)
Ctor.

Parameters:
constant - is the constant value
Method Detail

getFilterValue

public 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

getConstant

public java.lang.Object getConstant()
Returns the constant value.

Returns:
constant

equals

public boolean equals(java.lang.Object o)
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