net.esper.filter
Class RangeValueEventProp

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

public class RangeValueEventProp
extends Object
implements FilterSpecParamRangeValue

An event property as a filter parameter representing a range.

See Also:
Serialized Form

Constructor Summary
RangeValueEventProp(String resultEventAsName, String resultEventProperty)
          Ctor.
 
Method Summary
 boolean equals(Object obj)
           
 Double getFilterValue(MatchedEventMap matchedEvents)
          Returns the filter value representing the endpoint.
 String getResultEventAsName()
          Returns the tag name or stream name to use for the event property.
 String getResultEventProperty()
          Returns the name of the event property.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RangeValueEventProp

public RangeValueEventProp(String resultEventAsName,
                           String resultEventProperty)
Ctor.

Parameters:
resultEventAsName - is the event tag
resultEventProperty - is the event property name
Method Detail

getFilterValue

public final Double getFilterValue(MatchedEventMap matchedEvents)
Description copied from interface: FilterSpecParamRangeValue
Returns the filter value representing the endpoint.

Specified by:
getFilterValue in interface FilterSpecParamRangeValue
Parameters:
matchedEvents - is the prior results
Returns:
filter value

getResultEventAsName

public String getResultEventAsName()
Returns the tag name or stream name to use for the event property.

Returns:
tag name

getResultEventProperty

public String getResultEventProperty()
Returns the name of the event property.

Returns:
event 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