net.esper.filter
Class RangeValueEventProp

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

public class RangeValueEventProp
extends java.lang.Object
implements FilterSpecParamRangeValue

An event property as a filter parameter representing a range.


Constructor Summary
RangeValueEventProp(java.lang.String resultEventAsName, java.lang.String resultEventProperty)
          Ctor.
 
Method Summary
 void checkType(java.util.Map<java.lang.String,EventType> taggedEventTypes)
          Check the type against the map of event tag and type.
 boolean equals(java.lang.Object obj)
           
 double getFilterValue(MatchedEventMap matchedEvents)
          Returns the filter value representing the endpoint.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RangeValueEventProp

public RangeValueEventProp(java.lang.String resultEventAsName,
                           java.lang.String resultEventProperty)
Ctor.

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

checkType

public final void checkType(java.util.Map<java.lang.String,EventType> taggedEventTypes)
Description copied from interface: FilterSpecParamRangeValue
Check the type against the map of event tag and type.

Specified by:
checkType in interface FilterSpecParamRangeValue
Parameters:
taggedEventTypes - map of event tags and types

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

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