org.datanucleus.query.evaluator.memory
Class LocateFunctionEvaluator
java.lang.Object
org.datanucleus.query.evaluator.memory.LocateFunctionEvaluator
- All Implemented Interfaces:
- InvocationEvaluator
public class LocateFunctionEvaluator
- extends java.lang.Object
- implements InvocationEvaluator
Evaluator for the function LOCATE(strExpr1, strExpr2, pos).
|
Field Summary |
protected static Localiser |
LOCALISER
Localisation utility for output messages |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCALISER
protected static final Localiser LOCALISER
- Localisation utility for output messages
LocateFunctionEvaluator
public LocateFunctionEvaluator()
evaluate
public java.lang.Object evaluate(InvokeExpression expr,
java.lang.Object invokedValue,
InMemoryExpressionEvaluator eval)
- Description copied from interface:
InvocationEvaluator
- Method to evaluate the InvokeExpression, as part of the overall evaluation
defined by the InMemoryExpressionEvaluator.
- Specified by:
evaluate in interface InvocationEvaluator
- Parameters:
expr - The expression for invocationinvokedValue - Value on which we are invokingeval - The overall evaluator for in-memory
- Returns:
- The result
Copyright © 2010. All Rights Reserved.