- java.lang.Object
-
- org.mybatis.dynamic.sql.select.aggregate.AbstractCount
-
- org.mybatis.dynamic.sql.select.aggregate.CountAll
-
- All Implemented Interfaces:
BasicColumn,BindableColumn<Long>
public class CountAll extends AbstractCount
-
-
Constructor Summary
Constructors Constructor Description CountAll()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CountAllas(String alias)Override the base method definition to make it more specific to this interface.StringrenderWithTableAlias(TableAliasCalculator tableAliasCalculator)Returns the name of the item aliased with a table name if appropriate.-
Methods inherited from class org.mybatis.dynamic.sql.select.aggregate.AbstractCount
alias
-
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
-
Methods inherited from interface org.mybatis.dynamic.sql.BindableColumn
convertParameterType, javaType, jdbcType, renderingStrategy, typeHandler
-
-
-
-
Method Detail
-
renderWithTableAlias
public String renderWithTableAlias(TableAliasCalculator tableAliasCalculator)
Description copied from interface:BasicColumnReturns the name of the item aliased with a table name if appropriate. For example, "a.foo". This is appropriate for where clauses and order by clauses.- Parameters:
tableAliasCalculator- the table alias calculator for the current renderer- Returns:
- the item name with the table alias applied
-
as
public CountAll as(String alias)
Description copied from interface:BindableColumnOverride the base method definition to make it more specific to this interface.- Parameters:
alias- the column alias to set- Returns:
- new instance with alias set
-
-