Class StringMatchesMethod
- java.lang.Object
-
- org.datanucleus.store.query.inmemory.method.StringMatchesMethod
-
- All Implemented Interfaces:
InvocationEvaluator
public class StringMatchesMethod extends java.lang.Object implements InvocationEvaluator
Evaluator for the method "{stringExpr}.matches(expr)".
-
-
Constructor Summary
Constructors Constructor Description StringMatchesMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectevaluate(InvokeExpression expr, java.lang.Object invokedValue, InMemoryExpressionEvaluator eval)Method to evaluate the InvokeExpression, as part of the overall evaluation defined by the InMemoryExpressionEvaluator.
-
-
-
Method Detail
-
evaluate
public java.lang.Object evaluate(InvokeExpression expr, java.lang.Object invokedValue, InMemoryExpressionEvaluator eval)
Description copied from interface:InvocationEvaluatorMethod to evaluate the InvokeExpression, as part of the overall evaluation defined by the InMemoryExpressionEvaluator.- Specified by:
evaluatein interfaceInvocationEvaluator- Parameters:
expr- The expression for invocationinvokedValue- Value on which we are invokingeval- The overall evaluator for in-memory- Returns:
- The result
-
-