com.mysema.query.collections
Class SimpleEvaluator<T>
java.lang.Object
com.mysema.query.collections.SimpleEvaluator<T>
- All Implemented Interfaces:
- Evaluator<T>
public class SimpleEvaluator<T>
- extends Object
- implements Evaluator<T>
SimpleEvaluator is a Java Compiler API based implementation of the Evaluator interface
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleEvaluator
public SimpleEvaluator(String source,
Class<? extends T> projectionType,
String[] names,
Class<?>[] types,
Object[] constants)
throws IOException,
ClassNotFoundException,
SecurityException,
NoSuchMethodException
- Throws:
IOException
ClassNotFoundException
SecurityException
NoSuchMethodException
toId
public static String toId(String source,
Class<?> returnType,
Class<?>... types)
evaluate
public T evaluate(Object... args)
- Specified by:
evaluate
in interface Evaluator<T>
- Returns:
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.