public class SelectExprProcessorEnumerationAtBeanCollTableEval extends java.lang.Object implements ExprEvaluator
Constructor and Description |
---|
SelectExprProcessorEnumerationAtBeanCollTableEval(SelectExprProcessorEnumerationAtBeanCollTableForge forge,
ExprEnumerationEval enumEval) |
Modifier and Type | Method and Description |
---|---|
static CodegenExpression |
codegen(SelectExprProcessorEnumerationAtBeanCollTableForge forge,
CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope) |
static EventBean[] |
convertToTableType(java.lang.Object result,
TableMetadataInternalEventToPublic eventToPublic,
EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext exprEvaluatorContext)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
java.lang.Object |
evaluate(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext exprEvaluatorContext)
Evaluate event tuple and return result.
|
public SelectExprProcessorEnumerationAtBeanCollTableEval(SelectExprProcessorEnumerationAtBeanCollTableForge forge, ExprEnumerationEval enumEval)
public java.lang.Object evaluate(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext)
ExprEvaluator
evaluate
in interface ExprEvaluator
eventsPerStream
- - event tupleisNewData
- - indicates whether we are dealing with new data (istream) or old data (rstream)exprEvaluatorContext
- context for expression evaluationpublic static CodegenExpression codegen(SelectExprProcessorEnumerationAtBeanCollTableForge forge, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
public static EventBean[] convertToTableType(java.lang.Object result, TableMetadataInternalEventToPublic eventToPublic, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext)
result
- resulteventToPublic
- conversioneventsPerStream
- eventsisNewData
- flagexprEvaluatorContext
- context