public class FilterForEvalConstantAnyTypeForge extends Object implements FilterSpecParamInValueForge
Constructor and Description |
---|
FilterForEvalConstantAnyTypeForge(Object constant)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Object |
getConstant()
Returns the constant value.
|
Object |
getFilterValue(MatchedEventMap matchedEvents,
ExprEvaluatorContext evaluatorContext) |
Class |
getReturnType() |
int |
hashCode() |
boolean |
isConstant() |
CodegenExpression |
makeCodegen(CodegenClassScope classScope,
CodegenMethodScope parent) |
public FilterForEvalConstantAnyTypeForge(Object constant)
constant
- is the constant valuepublic Class getReturnType()
getReturnType
in interface FilterSpecParamInValueForge
public boolean isConstant()
isConstant
in interface FilterSpecParamInValueForge
public Object getConstant()
public Object getFilterValue(MatchedEventMap matchedEvents, ExprEvaluatorContext evaluatorContext)
getFilterValue
in interface FilterSpecParamFilterForEvalForge
public CodegenExpression makeCodegen(CodegenClassScope classScope, CodegenMethodScope parent)
makeCodegen
in interface FilterSpecParamFilterForEvalForge
Copyright © 2005–2020. All rights reserved.