Class Sum
- java.lang.Object
-
- org.mybatis.dynamic.sql.select.aggregate.AbstractAggregate<Sum>
-
- org.mybatis.dynamic.sql.select.aggregate.Sum
-
- All Implemented Interfaces:
BasicColumn
public class Sum extends AbstractAggregate<Sum>
-
-
Field Summary
-
Fields inherited from class org.mybatis.dynamic.sql.select.aggregate.AbstractAggregate
alias, column
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Sum
copy()
static Sum
of(BasicColumn column)
protected java.lang.String
render(java.lang.String columnName)
Calculate the rendered string for the select list.-
Methods inherited from class org.mybatis.dynamic.sql.select.aggregate.AbstractAggregate
alias, as, renderWithTableAlias
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mybatis.dynamic.sql.BasicColumn
renderWithTableAndColumnAlias
-
-
-
-
Method Detail
-
render
protected java.lang.String render(java.lang.String columnName)
Description copied from class:AbstractAggregate
Calculate the rendered string for the select list.- Specified by:
render
in classAbstractAggregate<Sum>
- Parameters:
columnName
- the calculated column name. It will have the table alias already applied if applicable.- Returns:
- the rendered string for the select list
-
copy
protected Sum copy()
- Specified by:
copy
in classAbstractAggregate<Sum>
-
of
public static Sum of(BasicColumn column)
-
-