|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.filter.FilterSpecParam
net.esper.filter.FilterSpecParamEventProp
public final class FilterSpecParamEventProp
This class represents a filter parameter containing a reference to another event's property
in the event pattern result, for use to describe a filter parameter in a FilterSpec
filter specification.
Constructor Summary | |
---|---|
FilterSpecParamEventProp(java.lang.String propertyName,
FilterOperator filterOperator,
java.lang.String resultEventAsName,
java.lang.String resultEventProperty)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
getFilterValue(MatchedEventMap matchedEvents)
Return the filter parameter constant to filter for. |
java.lang.Class |
getFilterValueClass(java.util.Map<java.lang.String,EventType> taggedEventTypes)
Return the filter parameter constant's class. |
java.lang.String |
getResultEventAsName()
Returns tag for result event. |
java.lang.String |
getResultEventProperty()
Returns the property of the result event. |
java.lang.String |
toString()
|
Methods inherited from class net.esper.filter.FilterSpecParam |
---|
getFilterOperator, getPropertyName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FilterSpecParamEventProp(java.lang.String propertyName, FilterOperator filterOperator, java.lang.String resultEventAsName, java.lang.String resultEventProperty) throws java.lang.IllegalArgumentException
propertyName
- is the event property namefilterOperator
- is the type of compareresultEventAsName
- is the name of the result event from which to get a property value to compareresultEventProperty
- is the name of the property to get from the named result event
java.lang.IllegalArgumentException
- if an operator was supplied that does not take a single constant valueMethod Detail |
---|
public java.lang.String getResultEventAsName()
public java.lang.String getResultEventProperty()
public java.lang.Class getFilterValueClass(java.util.Map<java.lang.String,EventType> taggedEventTypes)
FilterSpecParam
getFilterValueClass
in class FilterSpecParam
taggedEventTypes
- is the event types per event as-name (tag)
public java.lang.Object getFilterValue(MatchedEventMap matchedEvents)
FilterSpecParam
getFilterValue
in class FilterSpecParam
matchedEvents
- is the prior results that can be used to determine filter parameters
public final java.lang.String toString()
toString
in class FilterSpecParam
public boolean equals(java.lang.Object obj)
equals
in class FilterSpecParam
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |