Class PatternExpressionUtil
java.lang.Object
com.espertech.esper.common.internal.epl.pattern.core.PatternExpressionUtil
Utility for evaluating pattern expressions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
evaluateChecked
(String objectName, ExprEvaluator evaluator, EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext) static Object
getKeys
(MatchedEventMap matchEvent, MatchedEventConvertor convertor, ExprEvaluator expression, AgentInstanceContext agentInstanceContext) static EPException
handleRuntimeEx
(RuntimeException ex, String objectName) static void
toPrecedenceFreeEPL
(StringWriter writer, String delimiterText, List<EvalForgeNode> childNodes, PatternExpressionPrecedenceEnum precedence)
-
Constructor Details
-
PatternExpressionUtil
public PatternExpressionUtil()
-
-
Method Details
-
toPrecedenceFreeEPL
public static void toPrecedenceFreeEPL(StringWriter writer, String delimiterText, List<EvalForgeNode> childNodes, PatternExpressionPrecedenceEnum precedence) -
getKeys
public static Object getKeys(MatchedEventMap matchEvent, MatchedEventConvertor convertor, ExprEvaluator expression, AgentInstanceContext agentInstanceContext) -
evaluateChecked
public static Object evaluateChecked(String objectName, ExprEvaluator evaluator, EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext) throws EPException - Throws:
EPException
-
handleRuntimeEx
-