Class ExprRegexpNodeForgeNonconstEval
java.lang.Object
com.espertech.esper.common.internal.epl.expression.ops.ExprRegexpNodeForgeNonconstEval
- All Implemented Interfaces:
ExprEvaluator
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.epl.expression.core.ExprEvaluator
EPTYPE, EPTYPEARRAY
-
Constructor Summary
ConstructorDescriptionExprRegexpNodeForgeNonconstEval
(ExprRegexpNodeForgeNonconst forge, ExprEvaluator lhsEval, ExprEvaluator patternEval) -
Method Summary
Modifier and TypeMethodDescriptionstatic CodegenMethod
codegen
(ExprRegexpNodeForgeNonconst forge, ExprNode lhs, ExprNode pattern, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) evaluate
(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) Evaluate event tuple and return result.static Pattern
NOTE: Code-generation-invoked method, method name and parameter order matters
-
Constructor Details
-
ExprRegexpNodeForgeNonconstEval
public ExprRegexpNodeForgeNonconstEval(ExprRegexpNodeForgeNonconst forge, ExprEvaluator lhsEval, ExprEvaluator patternEval)
-
-
Method Details
-
exprRegexNodeCompilePattern
NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
text
- regex pattern- Returns:
- pattern
-
evaluate
public Object evaluate(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) Description copied from interface:ExprEvaluator
Evaluate event tuple and return result.- Specified by:
evaluate
in interfaceExprEvaluator
- Parameters:
eventsPerStream
- - event tupleisNewData
- - indicates whether we are dealing with new data (istream) or old data (rstream)context
- context for expression evaluation- Returns:
- evaluation result, a boolean value for OR/AND-type evalution nodes.
-
codegen
public static CodegenMethod codegen(ExprRegexpNodeForgeNonconst forge, ExprNode lhs, ExprNode pattern, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
-