Package org.mybatis.dynamic.sql.dsl
Class SelectDSL.QueryExpressionHavingBuilder
java.lang.Object
org.mybatis.dynamic.sql.dsl.SelectDSL.QueryExpressionHavingBuilder
- All Implemented Interfaces:
BooleanOperations<SelectDSL.QueryExpressionHavingBuilder>,ForAndWaitOperations<SelectDSL>,LimitAndOffsetOperations<SelectDSL,,SelectModel> OrderByOperations<SelectDSL>,Buildable<SelectModel>
- Enclosing class:
- SelectDSL
public class SelectDSL.QueryExpressionHavingBuilder
extends Object
implements BooleanOperations<SelectDSL.QueryExpressionHavingBuilder>, OrderByOperations<SelectDSL>, LimitAndOffsetOperations<SelectDSL,SelectModel>, ForAndWaitOperations<SelectDSL>, Buildable<SelectModel>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.mybatis.dynamic.sql.dsl.LimitAndOffsetOperations
LimitAndOffsetOperations.FetchFirstFinisher<T>, LimitAndOffsetOperations.LimitFinisher<T,M>, LimitAndOffsetOperations.OffsetFirstFinisher<T, M> -
Constructor Summary
ConstructorsConstructorDescriptionQueryExpressionHavingBuilder(SqlCriterion initialCriterion) QueryExpressionHavingBuilder(SqlCriterion initialCriterion, List<AndOrCriteriaGroup> subCriteria) -
Method Summary
Modifier and TypeMethodDescriptionaddSubCriterion(AndOrCriteriaGroup subCriterion) build()protected HavingModelfetchFirstWhenPresent(@Nullable Long fetchFirstRows) limitWhenPresent(@Nullable Long limit) offsetWhenPresent(@Nullable Long offset) orderBy(Collection<? extends SortSpecification> columns) setForClause(String forClause) setWaitClause(String waitClause) union()unionAll()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.dsl.BooleanOperations
and, and, and, and, and, and, and, or, or, or, or, or, or, orMethods inherited from interface org.mybatis.dynamic.sql.dsl.ForAndWaitOperations
forKeyShare, forNoKeyUpdate, forShare, forUpdate, nowait, skipLockedMethods inherited from interface org.mybatis.dynamic.sql.dsl.LimitAndOffsetOperations
fetchFirst, limit, offsetMethods inherited from interface org.mybatis.dynamic.sql.dsl.OrderByOperations
orderBy
-
Constructor Details
-
QueryExpressionHavingBuilder
-
QueryExpressionHavingBuilder
public QueryExpressionHavingBuilder(SqlCriterion initialCriterion, List<AndOrCriteriaGroup> subCriteria)
-
-
Method Details
-
addSubCriterion
- Specified by:
addSubCriterionin interfaceBooleanOperations<SelectDSL.QueryExpressionHavingBuilder>
-
orderBy
- Specified by:
orderByin interfaceOrderByOperations<SelectDSL>
-
union
-
unionAll
-
build
- Specified by:
buildin interfaceBuildable<SelectModel>
-
buildHavingModel
-
limitWhenPresent
public LimitAndOffsetOperations.LimitFinisher<SelectDSL,SelectModel> limitWhenPresent(@Nullable Long limit) - Specified by:
limitWhenPresentin interfaceLimitAndOffsetOperations<SelectDSL,SelectModel>
-
offsetWhenPresent
public LimitAndOffsetOperations.OffsetFirstFinisher<SelectDSL,SelectModel> offsetWhenPresent(@Nullable Long offset) - Specified by:
offsetWhenPresentin interfaceLimitAndOffsetOperations<SelectDSL,SelectModel>
-
fetchFirstWhenPresent
public LimitAndOffsetOperations.FetchFirstFinisher<SelectDSL> fetchFirstWhenPresent(@Nullable Long fetchFirstRows) - Specified by:
fetchFirstWhenPresentin interfaceLimitAndOffsetOperations<SelectDSL,SelectModel>
-
setWaitClause
- Specified by:
setWaitClausein interfaceForAndWaitOperations<SelectDSL>
-
setForClause
- Specified by:
setForClausein interfaceForAndWaitOperations<SelectDSL>
-