Class AbstractCount
java.lang.Object
org.mybatis.dynamic.sql.select.aggregate.AbstractCount
- All Implemented Interfaces:
BasicColumn
,BindableColumn<Long>
- Direct Known Subclasses:
Count
,CountAll
,CountDistinct
Count functions are implemented differently than the other aggregates. This is primarily to preserve
backwards compatibility. Count functions are configured as BindableColumns of type Long
as it is assumed that the count functions always return a number.
-
Constructor Summary
-
Method Summary
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
render, renderWithTableAlias
Methods inherited from interface org.mybatis.dynamic.sql.BindableColumn
as, convertParameterType, javaType, jdbcType, renderingStrategy, typeHandler
-
Constructor Details
-
AbstractCount
protected AbstractCount() -
AbstractCount
-
-
Method Details
-
alias
Description copied from interface:BasicColumn
Returns the columns alias if one has been specified.- Specified by:
alias
in interfaceBasicColumn
- Returns:
- the column alias
-