Package org.mybatis.dynamic.sql.dsl
Class SelectDSL.QueryExpressionWhereBuilder
java.lang.Object
org.mybatis.dynamic.sql.dsl.SelectDSL.QueryExpressionWhereBuilder
- All Implemented Interfaces:
BooleanOperations<SelectDSL.QueryExpressionWhereBuilder>,ForAndWaitOperations<SelectDSL>,GroupByOperations<SelectDSL>,LimitAndOffsetOperations<SelectDSL,,SelectModel> OrderByOperations<SelectDSL>,Buildable<SelectModel>,ConfigurableStatement<SelectDSL.QueryExpressionWhereBuilder>
- Enclosing class:
- SelectDSL
public class SelectDSL.QueryExpressionWhereBuilder
extends Object
implements BooleanOperations<SelectDSL.QueryExpressionWhereBuilder>, ConfigurableStatement<SelectDSL.QueryExpressionWhereBuilder>, OrderByOperations<SelectDSL>, GroupByOperations<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
ConstructorsConstructorDescriptionQueryExpressionWhereBuilder(SqlCriterion initialCriterion) QueryExpressionWhereBuilder(SqlCriterion initialCriterion, List<AndOrCriteriaGroup> subCriteria) -
Method Summary
Modifier and TypeMethodDescriptionaddSubCriterion(AndOrCriteriaGroup subCriterion) build()protected WhereModelconfigureStatement(Consumer<StatementConfiguration> consumer) fetchFirstWhenPresent(@Nullable Long fetchFirstRows) groupBy(Collection<? extends BasicColumn> columns) 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.GroupByOperations
groupByMethods inherited from interface org.mybatis.dynamic.sql.dsl.LimitAndOffsetOperations
fetchFirst, limit, offsetMethods inherited from interface org.mybatis.dynamic.sql.dsl.OrderByOperations
orderBy
-
Constructor Details
-
QueryExpressionWhereBuilder
-
QueryExpressionWhereBuilder
public QueryExpressionWhereBuilder(SqlCriterion initialCriterion, List<AndOrCriteriaGroup> subCriteria)
-
-
Method Details
-
addSubCriterion
- Specified by:
addSubCriterionin interfaceBooleanOperations<SelectDSL.QueryExpressionWhereBuilder>
-
union
-
unionAll
-
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>
-
orderBy
- Specified by:
orderByin interfaceOrderByOperations<SelectDSL>
-
groupBy
- Specified by:
groupByin interfaceGroupByOperations<SelectDSL>
-
build
- Specified by:
buildin interfaceBuildable<SelectModel>
-
buildWhereModel
-
configureStatement
public SelectDSL.QueryExpressionWhereBuilder configureStatement(Consumer<StatementConfiguration> consumer) - Specified by:
configureStatementin interfaceConfigurableStatement<SelectDSL.QueryExpressionWhereBuilder>
-
setWaitClause
- Specified by:
setWaitClausein interfaceForAndWaitOperations<SelectDSL>
-
setForClause
- Specified by:
setForClausein interfaceForAndWaitOperations<SelectDSL>
-