org.datanucleus.store.mapped.expression
Class ExpressionHelper

java.lang.Object
  extended by org.datanucleus.store.mapped.expression.ExpressionHelper

public class ExpressionHelper
extends java.lang.Object

Helper class for doing tasks relating to expressions and handling mappings in query statements.


Constructor Summary
ExpressionHelper()
           
 
Method Summary
static void selectMapping(StatementMappingIndex stmtMapping, QueryExpression qs, DatastoreIdentifier tableIdentifier, ClassLoaderResolver clr)
          Convenience method to select the specified mapping in the specified query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionHelper

public ExpressionHelper()
Method Detail

selectMapping

public static void selectMapping(StatementMappingIndex stmtMapping,
                                 QueryExpression qs,
                                 DatastoreIdentifier tableIdentifier,
                                 ClassLoaderResolver clr)
Convenience method to select the specified mapping in the specified query. The supplied stmtMapping has its column positions updated to the position in this query.

Parameters:
stmtMapping - The statement mapping to select
qs - The query
tableIdentifier - Identifier for the table in which to select the mapping (if known)
clr - ClassLoader resolver


Copyright © 2010. All Rights Reserved.