org.datanucleus.query.evaluator.memory
Class LowerFunctionEvaluator

java.lang.Object
  extended by org.datanucleus.query.evaluator.memory.LowerFunctionEvaluator
All Implemented Interfaces:
InvocationEvaluator

public class LowerFunctionEvaluator
extends java.lang.Object
implements InvocationEvaluator

Evaluator for the function LOWER(stringExpr).


Field Summary
protected static Localiser LOCALISER
          Localisation utility for output messages
 
Constructor Summary
LowerFunctionEvaluator()
           
 
Method Summary
 java.lang.Object evaluate(InvokeExpression expr, java.lang.Object invokedValue, InMemoryExpressionEvaluator eval)
          Method to evaluate the InvokeExpression, as part of the overall evaluation defined by the InMemoryExpressionEvaluator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALISER

protected static final Localiser LOCALISER
Localisation utility for output messages

Constructor Detail

LowerFunctionEvaluator

public LowerFunctionEvaluator()
Method Detail

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 invocation
invokedValue - Value on which we are invoking
eval - The overall evaluator for in-memory
Returns:
The result


Copyright © 2010. All Rights Reserved.