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

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.MinFunction
All Implemented Interfaces:
SQLMethod

public class MinFunction
extends SimpleOrderableAggregateMethod

Expression handler to invoke the SQL MIN aggregation function. For use in evaluating MIN({expr}) where the RDBMS supports this function. Returns an Expression "MIN({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
MinFunction()
           
 
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

MinFunction

public MinFunction()
Method Detail

getFunctionName

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


Copyright © 2012. All Rights Reserved.