public final class FilterSpecParamEventPropForge extends FilterSpecParamForge
FilterSpecActivatable
filter specification.EMPTY_PARAM_ARRAY, filterOperator, lookupable
Constructor and Description |
---|
FilterSpecParamEventPropForge(ExprFilterSpecLookupableForge lookupable,
FilterOperator filterOperator,
String resultEventAsName,
String resultEventProperty,
ExprIdentNodeEvaluator exprIdentNodeEvaluator,
boolean isMustCoerce,
SimpleNumberCoercer numberCoercer,
EPTypeClass coercionType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
EPTypeClass |
getCoercionType()
Returns the numeric coercion type.
|
ExprIdentNodeEvaluator |
getExprIdentNodeEvaluator() |
Object |
getFilterValue(MatchedEventMap matchedEvents,
ExprEvaluatorContext exprEvaluatorContext,
ClasspathImportServiceRuntime classpathImportService,
Annotation[] annotations) |
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
|
CodegenExpression |
makeCodegen(CodegenClassScope classScope,
CodegenMethodScope parent,
SAIFFInitializeSymbolWEventType symbols) |
String |
toString() |
void |
valueExprToString(StringBuilder out,
int i) |
appendFilterPlanParam, getFilterOperator, getLookupable
public FilterSpecParamEventPropForge(ExprFilterSpecLookupableForge lookupable, FilterOperator filterOperator, String resultEventAsName, String resultEventProperty, ExprIdentNodeEvaluator exprIdentNodeEvaluator, boolean isMustCoerce, SimpleNumberCoercer numberCoercer, EPTypeClass coercionType) throws 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 eventexprIdentNodeEvaluator
- evaluatorisMustCoerce
- indicates on whether numeric coercion must be performednumberCoercer
- interface to use to perform coercioncoercionType
- indicates the numeric coercion type to useIllegalArgumentException
- if an operator was supplied that does not take a single constant valuepublic boolean isMustCoerce()
public EPTypeClass getCoercionType()
public String getResultEventAsName()
public String getResultEventProperty()
public Object getFilterValue(MatchedEventMap matchedEvents, ExprEvaluatorContext exprEvaluatorContext, ClasspathImportServiceRuntime classpathImportService, Annotation[] annotations)
public ExprIdentNodeEvaluator getExprIdentNodeEvaluator()
public CodegenExpression makeCodegen(CodegenClassScope classScope, CodegenMethodScope parent, SAIFFInitializeSymbolWEventType symbols)
makeCodegen
in class FilterSpecParamForge
public void valueExprToString(StringBuilder out, int i)
valueExprToString
in class FilterSpecParamForge
Copyright © 2005–2022. All rights reserved.