public class ExprPlugInSingleRowNodeForgeConst extends ExprPlugInSingleRowNodeForge implements ExprEvaluator
Constructor and Description |
---|
ExprPlugInSingleRowNodeForgeConst(ExprPlugInSingleRowNode parent,
java.lang.Object constantResult,
java.lang.reflect.Method method) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context)
Evaluate event tuple and return result.
|
CodegenExpression |
evaluateCodegen(java.lang.Class requiredType,
CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope) |
ExprForgeComplexityEnum |
getComplexity() |
java.lang.Class |
getEvaluationType() |
ExprEvaluator |
getExprEvaluator() |
getForgeRenderable, isReturnsConstantResult
public ExprPlugInSingleRowNodeForgeConst(ExprPlugInSingleRowNode parent, java.lang.Object constantResult, java.lang.reflect.Method method)
public ExprEvaluator getExprEvaluator()
getExprEvaluator
in interface ExprForge
public java.lang.Class getEvaluationType()
getEvaluationType
in interface ExprForge
public java.lang.Object evaluate(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
ExprEvaluator
evaluate
in interface ExprEvaluator
eventsPerStream
- - event tupleisNewData
- - indicates whether we are dealing with new data (istream) or old data (rstream)context
- context for expression evaluationpublic CodegenExpression evaluateCodegen(java.lang.Class requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
evaluateCodegen
in interface ExprForge
public ExprForgeComplexityEnum getComplexity()
getComplexity
in interface ExprForge