public final class FilterSpecParamEventPropIndexed extends FilterSpecParam
FilterSpecCompiled
filter specification.EMPTY_PARAM_ARRAY, lookupable
Constructor and Description |
---|
FilterSpecParamEventPropIndexed(FilterSpecLookupable lookupable,
FilterOperator filterOperator,
String resultEventAsName,
int resultEventIndex,
String resultEventProperty,
boolean isMustCoerce,
SimpleNumberCoercer numberCoercer,
Class coercionType,
String statementName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Class |
getCoercionType()
Returns the numeric coercion type.
|
Object |
getFilterValue(MatchedEventMap matchedEvents,
AgentInstanceContext agentInstanceContext)
Return the filter parameter constant to filter for.
|
String |
getResultEventAsName()
Returns tag for result event.
|
int |
getResultEventIndex()
Returns the index.
|
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() |
getFilterOperator, getLookupable, toArray
public FilterSpecParamEventPropIndexed(FilterSpecLookupable lookupable, FilterOperator filterOperator, String resultEventAsName, int resultEventIndex, String resultEventProperty, boolean isMustCoerce, SimpleNumberCoercer numberCoercer, Class coercionType, String statementName) throws IllegalArgumentException
lookupable
- is the lookupablefilterOperator
- 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 coercionresultEventIndex
- indexstatementName
- statement nameIllegalArgumentException
- if an operator was supplied that does not take a single constant valuepublic boolean isMustCoerce()
public Class getCoercionType()
public String getResultEventAsName()
public String getResultEventProperty()
public Object getFilterValue(MatchedEventMap matchedEvents, AgentInstanceContext agentInstanceContext)
FilterSpecParam
getFilterValue
in class FilterSpecParam
matchedEvents
- is the prior results that can be used to determine filter parametersagentInstanceContext
- contextpublic int getResultEventIndex()
public final String toString()
toString
in class FilterSpecParam
public boolean equals(Object obj)
equals
in class FilterSpecParam
public int hashCode()
hashCode
in class FilterSpecParam