public class AvgFunction extends SimpleNumericAggregateMethod
clr, exprFactory, stmt
Constructor and Description |
---|
AvgFunction() |
Modifier and Type | Method and Description |
---|---|
protected SQLExpression |
getAggregateExpression(List args,
JavaTypeMapping m) |
protected Class |
getClassForMapping() |
SQLExpression |
getExpression(SQLExpression expr,
List args)
Return the expression for this SQL function.
|
protected String |
getFunctionName() |
getMappingForClass, setStatement
protected String getFunctionName()
getFunctionName
in class SimpleNumericAggregateMethod
public SQLExpression getExpression(SQLExpression expr, List args)
SQLMethod
getExpression
in interface SQLMethod
getExpression
in class SimpleNumericAggregateMethod
expr
- The expression that it is invoked onargs
- Arguments passed inprotected SQLExpression getAggregateExpression(List args, JavaTypeMapping m)
protected Class getClassForMapping()
getClassForMapping
in class SimpleNumericAggregateMethod
Copyright © 2015. All rights reserved.