Class AbstractCountDSL<M,D extends AbstractCountDSL<M,D>>

java.lang.Object
org.mybatis.dynamic.sql.dsl.AbstractQueryingDSL
org.mybatis.dynamic.sql.dsl.AbstractCountDSL<M,D>
Type Parameters:
M - the type of model built by this Builder. Typically, SelectModel.
D - the type of DSL builder
All Implemented Interfaces:
JoinOperations<AbstractCountDSL<M,D>.JoinSpecificationFinisher>, WhereOperations<AbstractCountDSL<M,D>.CountWhereBuilder>, Buildable<M>, ConfigurableStatement<D>
Direct Known Subclasses:
CountDSL, CountDSL

public abstract class AbstractCountDSL<M,D extends AbstractCountDSL<M,D>> extends AbstractQueryingDSL implements JoinOperations<AbstractCountDSL<M,D>.JoinSpecificationFinisher>, WhereOperations<AbstractCountDSL<M,D>.CountWhereBuilder>, ConfigurableStatement<D>, Buildable<M>
DSL for building count queries. Count queries are specializations of select queries. They have joins and where clauses, but not the other parts of a select (group by, order by, etc.) Count queries always return a long value. If these restrictions are not acceptable, then use the Select DSL for an unrestricted select statement.
Author:
Jeff Butler