public class FilterForEvalEventPropMayCoerce extends Object implements FilterSpecParamInValue
Constructor and Description |
---|
FilterForEvalEventPropMayCoerce(String resultEventAsName,
String resultEventProperty,
boolean isMustCoerce,
Class coercionType)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
constant() |
boolean |
equals(Object obj) |
Object |
getFilterValue(MatchedEventMap matchedEvents,
ExprEvaluatorContext evaluatorContext)
Returns the filter value representing the endpoint.
|
String |
getResultEventAsName()
Returns the tag used for the event property.
|
String |
getResultEventProperty()
Returns the event property name.
|
Class |
getReturnType() |
int |
hashCode() |
String |
toString() |
public FilterForEvalEventPropMayCoerce(String resultEventAsName, String resultEventProperty, boolean isMustCoerce, Class coercionType)
resultEventAsName
- is the event tagresultEventProperty
- is the event property nameisMustCoerce
- indicates on whether numeric coercion must be performedcoercionType
- indicates the numeric coercion type to usepublic Class getReturnType()
getReturnType
in interface FilterSpecParamInValue
public boolean constant()
constant
in interface FilterSpecParamInValue
public final Object getFilterValue(MatchedEventMap matchedEvents, ExprEvaluatorContext evaluatorContext)
FilterSpecParamFilterForEval
getFilterValue
in interface FilterSpecParamFilterForEval
matchedEvents
- is the prior resultsevaluatorContext
- eval contextpublic String getResultEventAsName()
public String getResultEventProperty()