|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.rdbms.sql.method.AbstractSQLMethod
org.datanucleus.store.rdbms.sql.method.SimpleAggregateMethod
org.datanucleus.store.rdbms.sql.method.AvgFunction
public class AvgFunction
Expression handler to invoke the SQL AVG aggregation function. For use in evaluating AVG({expr}) where the RDBMS supports this function. Returns a NumericExpression "AVG({numericExpr})".
| Field Summary |
|---|
| Fields inherited from class org.datanucleus.store.rdbms.sql.method.AbstractSQLMethod |
|---|
clr, exprFactory, LOCALISER, stmt |
| Constructor Summary | |
|---|---|
AvgFunction()
|
|
| Method Summary | |
|---|---|
protected java.lang.Class |
getClassForMapping()
|
protected java.lang.String |
getFunctionName()
|
| Methods inherited from class org.datanucleus.store.rdbms.sql.method.SimpleAggregateMethod |
|---|
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 |
|---|
public AvgFunction()
| Method Detail |
|---|
protected java.lang.String getFunctionName()
getFunctionName in class SimpleAggregateMethodprotected java.lang.Class getClassForMapping()
getClassForMapping in class SimpleAggregateMethod
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||