public final class FilterSpecParamEventProp extends FilterSpecParam
FilterSpecCompiled
filter specification.EMPTY_PARAM_ARRAY, lookupable
Constructor and Description |
---|
FilterSpecParamEventProp(ExprFilterSpecLookupable lookupable,
FilterOperator filterOperator,
java.lang.String resultEventAsName,
java.lang.String resultEventProperty,
boolean isMustCoerce,
SimpleNumberCoercer numberCoercer,
java.lang.Class coercionType,
java.lang.String statementName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Class |
getCoercionType()
Returns the numeric coercion type.
|
java.lang.Object |
getFilterValue(MatchedEventMap matchedEvents,
ExprEvaluatorContext exprEvaluatorContext,
EngineImportService engineImportService,
java.lang.annotation.Annotation[] annotations)
Return the filter parameter constant to filter for.
|
java.lang.String |
getResultEventAsName()
Returns tag for result event.
|
java.lang.String |
getResultEventProperty()
Returns the property of the result event.
|
int |
hashCode() |
boolean |
isMustCoerce()
Returns true if numeric coercion is required, or false if not
|
java.lang.String |
toString() |
getFilterOperator, getLookupable, toArray
public FilterSpecParamEventProp(ExprFilterSpecLookupable lookupable, FilterOperator filterOperator, java.lang.String resultEventAsName, java.lang.String resultEventProperty, boolean isMustCoerce, SimpleNumberCoercer numberCoercer, java.lang.Class coercionType, java.lang.String statementName) throws java.lang.IllegalArgumentException
lookupable
- is the property or function to get a lookup valuefilterOperator
- 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 usenumberCoercer
- interface to use to perform coercionstatementName
- statement namejava.lang.IllegalArgumentException
- if an operator was supplied that does not take a single constant valuepublic boolean isMustCoerce()
public java.lang.Class getCoercionType()
public java.lang.String getResultEventAsName()
public java.lang.String getResultEventProperty()
public java.lang.Object getFilterValue(MatchedEventMap matchedEvents, ExprEvaluatorContext exprEvaluatorContext, EngineImportService engineImportService, java.lang.annotation.Annotation[] annotations)
FilterSpecParam
getFilterValue
in class FilterSpecParam
matchedEvents
- is the prior results that can be used to determine filter parametersexprEvaluatorContext
- contextannotations
- @return filter parameter constant's valuepublic final java.lang.String toString()
toString
in class FilterSpecParam
public boolean equals(java.lang.Object obj)
equals
in class FilterSpecParam
public int hashCode()
hashCode
in class FilterSpecParam