public class ExprDeclaredForgeConstant extends Object implements ExprForgeInstrumentable, ExprEvaluator
Constructor and Description |
---|
ExprDeclaredForgeConstant(ExprDeclaredNodeImpl parent,
Class returnType,
ExpressionDeclItem prototype,
Object value,
boolean audit,
String statementName) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context)
Evaluate event tuple and return result.
|
CodegenExpression |
evaluateCodegen(Class requiredType,
CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope) |
CodegenExpression |
evaluateCodegenUninstrumented(Class requiredType,
CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope) |
Class |
getEvaluationType() |
ExprEvaluator |
getExprEvaluator() |
ExprForgeConstantType |
getForgeConstantType() |
ExprNodeRenderable |
getForgeRenderable() |
public ExprDeclaredForgeConstant(ExprDeclaredNodeImpl parent, Class returnType, ExpressionDeclItem prototype, Object value, boolean audit, String statementName)
public 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 ExprEvaluator getExprEvaluator()
getExprEvaluator
in interface ExprForge
public CodegenExpression evaluateCodegenUninstrumented(Class requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
evaluateCodegenUninstrumented
in interface ExprForgeInstrumentable
public CodegenExpression evaluateCodegen(Class requiredType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
evaluateCodegen
in interface ExprForge
public Class getEvaluationType()
getEvaluationType
in interface ExprForge
public ExprNodeRenderable getForgeRenderable()
getForgeRenderable
in interface ExprForge
public ExprForgeConstantType getForgeConstantType()
getForgeConstantType
in interface ExprForge
Copyright © 2005–2018. All rights reserved.