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
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mybatis.dynamic.sql.BasicColumn
jdbcType, render, renderingStrategy, typeHandlerMethods inherited from interface org.mybatis.dynamic.sql.BindableColumn
as, convertParameterType, javaType
-
Constructor Details
-
AbstractCount
protected AbstractCount() -
AbstractCount
-
-
Method Details
-
alias
Description copied from interface:BasicColumnReturns the columns alias if one has been specified.- Specified by:
aliasin interfaceBasicColumn- Returns:
- the column alias
-