|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.pattern.PatternExpressionUtil
public class PatternExpressionUtil
Utility for evaluating pattern expressions.
Constructor Summary | |
---|---|
PatternExpressionUtil()
|
Method Summary | |
---|---|
static java.lang.Object |
evaluate(java.lang.String objectName,
MatchedEventMap beginState,
ExprNode parameter,
MatchedEventConvertor convertor,
ExprEvaluatorContext exprEvaluatorContext)
Evaluate the pattern expression. |
static java.util.List<java.lang.Object> |
evaluate(java.lang.String objectName,
MatchedEventMap beginState,
java.util.List<ExprNode> parameters,
MatchedEventConvertor convertor,
ExprEvaluatorContext exprEvaluatorContext)
Ctor. |
static java.lang.Object |
getKeys(MatchedEventMap currentState,
EvalEveryDistinctNode everyDistinctNode)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PatternExpressionUtil()
Method Detail |
---|
public static java.lang.Object getKeys(MatchedEventMap currentState, EvalEveryDistinctNode everyDistinctNode)
public static java.util.List<java.lang.Object> evaluate(java.lang.String objectName, MatchedEventMap beginState, java.util.List<ExprNode> parameters, MatchedEventConvertor convertor, ExprEvaluatorContext exprEvaluatorContext) throws EPException
objectName
- is the pattern object namebeginState
- the pattern begin stateparameters
- object parametersconvertor
- for converting to a event-per-stream view for use to evaluate expressionsexprEvaluatorContext
- expression evaluation context
EPException
- if the evaluate failedpublic static java.lang.Object evaluate(java.lang.String objectName, MatchedEventMap beginState, ExprNode parameter, MatchedEventConvertor convertor, ExprEvaluatorContext exprEvaluatorContext) throws EPException
objectName
- pattern object namebeginState
- pattern stateparameter
- expression nodeconvertor
- to converting from pattern match to event-per-streamexprEvaluatorContext
- expression evaluation context
EPException
- if the evaluation failed
|
© 2006-2011 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |