org.datanucleus.store.rdbms.sql.method
Class MaxFunction

java.lang.Object
  extended by org.datanucleus.store.rdbms.sql.method.AbstractSQLMethod
      extended by org.datanucleus.store.rdbms.sql.method.SimpleOrderableAggregateMethod
          extended by org.datanucleus.store.rdbms.sql.method.MaxFunction
All Implemented Interfaces:
SQLMethod

public class MaxFunction
extends SimpleOrderableAggregateMethod

Expression handler to invoke the SQL MAX aggregation function. For use in evaluating MAX({expr}) where the RDBMS supports this function. Returns an Expression "MAX({orderableExpr})", where the orderable expression is either numeric or temporal


Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.sql.method.AbstractSQLMethod
clr, exprFactory, LOCALISER, stmt
 
Constructor Summary
MaxFunction()
           
 
Method Summary
protected  String getFunctionName()
           
 
Methods inherited from class org.datanucleus.store.rdbms.sql.method.SimpleOrderableAggregateMethod
getExpression
 
Methods inherited from class org.datanucleus.store.rdbms.sql.method.AbstractSQLMethod
getMappingForClass, setStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxFunction

public MaxFunction()
Method Detail

getFunctionName

protected String getFunctionName()
Specified by:
getFunctionName in class SimpleOrderableAggregateMethod


Copyright © 2012. All Rights Reserved.