|
||||||||||
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 FilterSpecCompiled
filter specification.
Field Summary |
---|
Fields inherited from class net.esper.filter.FilterSpecParam |
---|
propertyName |
Constructor Summary | |
---|---|
FilterSpecParamEventProp(String propertyName,
FilterOperator filterOperator,
String resultEventAsName,
String resultEventProperty,
boolean isMustCoerce,
Class coercionType)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Class |
getCoercionType()
Returns the numeric coercion type. |
Object |
getFilterValue(MatchedEventMap matchedEvents)
Return the filter parameter constant to filter for. |
String |
getResultEventAsName()
Returns tag for result event. |
String |
getResultEventProperty()
Returns the property of the result event. |
int |
hashCode()
|
boolean |
isMustCoerce()
Returns true if numeric coercion is required, or false if not |
String |
toString()
|
Methods inherited from class net.esper.filter.FilterSpecParam |
---|
getFilterOperator, getPropertyName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FilterSpecParamEventProp(String propertyName, FilterOperator filterOperator, String resultEventAsName, String resultEventProperty, boolean isMustCoerce, Class coercionType) throws 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 eventisMustCoerce
- indicates on whether numeric coercion must be performedcoercionType
- indicates the numeric coercion type to use
IllegalArgumentException
- if an operator was supplied that does not take a single constant valueMethod Detail |
---|
public boolean isMustCoerce()
public Class getCoercionType()
public String getResultEventAsName()
public String getResultEventProperty()
public Object getFilterValue(MatchedEventMap matchedEvents)
FilterSpecParam
getFilterValue
in class FilterSpecParam
matchedEvents
- is the prior results that can be used to determine filter parameters
public final String toString()
toString
in class FilterSpecParam
public boolean equals(Object obj)
equals
in class FilterSpecParam
public int hashCode()
hashCode
in class FilterSpecParam
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |