Class CountDistinct
- java.lang.Object
-
- org.mybatis.dynamic.sql.select.aggregate.AbstractAggregate<CountDistinct>
-
- org.mybatis.dynamic.sql.select.aggregate.CountDistinct
-
- All Implemented Interfaces:
BasicColumn
public class CountDistinct extends AbstractAggregate<CountDistinct>
-
-
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 CountDistinct
copy()
static CountDistinct
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<CountDistinct>
- 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 CountDistinct copy()
- Specified by:
copy
in classAbstractAggregate<CountDistinct>
-
of
public static CountDistinct of(BasicColumn column)
-
-