Class LocateFunction
- java.lang.Object
-
- org.datanucleus.store.query.inmemory.method.LocateFunction
-
- All Implemented Interfaces:
InvocationEvaluator
public class LocateFunction extends java.lang.Object implements InvocationEvaluator
Evaluator for the function LOCATE(strExpr1, strExpr2, pos).
-
-
Constructor Summary
Constructors Constructor Description LocateFunction()
-
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
-
-