org.datanucleus.store.rdbms.query
Class SQLEvaluator

java.lang.Object
  extended by org.datanucleus.store.rdbms.query.SQLEvaluator

public class SQLEvaluator
extends java.lang.Object

Evaluator for SQL-based queries. Takes the query, converts it into executable SQL and executes it, returning it in an appropriate form.


Field Summary
protected static org.datanucleus.util.Localiser LOCALISER
          Localiser for messages.
 
Constructor Summary
SQLEvaluator(org.datanucleus.store.query.Query query, org.datanucleus.store.query.ResultObjectFactory rof, java.util.Collection candidateCollection)
          Constructor.
 
Method Summary
 java.lang.Object evaluate(org.datanucleus.store.mapped.expression.QueryExpression queryStmt)
          Method to evaulate the query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALISER

protected static final org.datanucleus.util.Localiser LOCALISER
Localiser for messages.

Constructor Detail

SQLEvaluator

public SQLEvaluator(org.datanucleus.store.query.Query query,
                    org.datanucleus.store.query.ResultObjectFactory rof,
                    java.util.Collection candidateCollection)
Constructor.

Parameters:
query - The query
rof - Factory for results
candidateCollection - Candidate collection (optional)
Method Detail

evaluate

public java.lang.Object evaluate(org.datanucleus.store.mapped.expression.QueryExpression queryStmt)
Method to evaulate the query.

Parameters:
queryStmt - The query statement.
Returns:
Result of the query


Copyright © 2009. All Rights Reserved.