org.datanucleus.query.evaluator
Class JDOQLResultClassMapper

java.lang.Object
  extended by org.datanucleus.query.evaluator.JDOQLResultClassMapper

public class JDOQLResultClassMapper
extends java.lang.Object

Class to map the results of a JDOQL query to the result class.


Field Summary
protected static Localiser LOCALISER
           
 
Constructor Summary
JDOQLResultClassMapper(java.lang.Class resultClass)
          Constructor for the ResultClassMapper which handles setResultClass
 
Method Summary
 java.util.Collection map(java.util.Collection inputResults, Expression[] resultNames)
          Method to map the input results to the required result class type.
 
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
Constructor Detail

JDOQLResultClassMapper

public JDOQLResultClassMapper(java.lang.Class resultClass)
Constructor for the ResultClassMapper which handles setResultClass

Parameters:
resultClass - The required result class
Method Detail

map

public java.util.Collection map(java.util.Collection inputResults,
                                Expression[] resultNames)
Method to map the input results to the required result class type.

Parameters:
inputResults - The results to process
resultNames - Expressions for the result components of the input results (columns)
Returns:
Collection


Copyright © 2009. All Rights Reserved.