public interface ExprTypableReturnEval extends ExprEvaluator
When returning non-null results from {#getRowProperties},
the ExprEvaluator.evaluate(com.espertech.esper.client.EventBean[], boolean, ExprEvaluatorContext)
must return an instance of Map<String, Object> (HashMap is fine).
When returning non-null results, the the evaluator must also return either Object[] results or Object[][], each object-array following the same exact order as provided by the map, matching the multi-row flag.
Modifier and Type | Method and Description |
---|---|
java.lang.Object[][] |
evaluateTypableMulti(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context) |
java.lang.Object[] |
evaluateTypableSingle(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context) |
evaluate
java.lang.Object[] evaluateTypableSingle(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
java.lang.Object[][] evaluateTypableMulti(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)