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

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

public class SQLRollupFunction
extends SimpleNumericMethod

Expression handler to evaluate SQL.rollup(args). Returns a NumericExpression. Ignores the "expr" since is a function


Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.sql.method.AbstractSQLMethod
clr, exprFactory, LOCALISER, stmt
 
Constructor Summary
SQLRollupFunction()
           
 
Method Summary
protected  java.lang.Class getClassForMapping()
           
protected  java.lang.String getFunctionName()
           
 
Methods inherited from class org.datanucleus.store.rdbms.sql.method.SimpleNumericMethod
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

SQLRollupFunction

public SQLRollupFunction()
Method Detail

getFunctionName

protected java.lang.String getFunctionName()
Specified by:
getFunctionName in class SimpleNumericMethod

getClassForMapping

protected java.lang.Class getClassForMapping()
Specified by:
getClassForMapping in class SimpleNumericMethod


Copyright © 2009. All Rights Reserved.