Class CountAll
java.lang.Object
org.mybatis.dynamic.sql.select.aggregate.AbstractCount
org.mybatis.dynamic.sql.select.aggregate.CountAll
- All Implemented Interfaces:
BasicColumn,BindableColumn<Long>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOverride the base method definition to make it more specific to this interface.render(RenderingContext renderingContext) Returns a rendering of the column.Methods inherited from class org.mybatis.dynamic.sql.select.aggregate.AbstractCount
aliasMethods 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, renderingStrategy, typeHandlerMethods inherited from interface org.mybatis.dynamic.sql.BindableColumn
convertParameterType, javaType
-
Constructor Details
-
CountAll
public CountAll()
-
-
Method Details
-
render
Description copied from interface:BasicColumnReturns a rendering of the column. The rendered fragment should include the table alias based on the TableAliasCalculator in the RenderingContext. The fragment could contain prepared statement parameter markers and associated parameter values if desired.- Parameters:
renderingContext- the rendering context (strategy, sequence, etc.)- Returns:
- a rendered SQL fragment and, optionally, parameters associated with the fragment
-
as
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
-