Package org.mybatis.dynamic.sql.select
Class QueryExpressionDSL.QueryExpressionWhereBuilder
java.lang.Object
org.mybatis.dynamic.sql.select.QueryExpressionDSL.QueryExpressionWhereBuilder
- All Implemented Interfaces:
BooleanOperations<QueryExpressionDSL<R>.QueryExpressionWhereBuilder>,ForAndWaitOperations<SelectDSL<R>>,GroupByOperations<QueryExpressionDSL<R>>,LimitAndOffsetOperations<SelectDSL<R>,,R> OrderByOperations<SelectDSL<R>>,Buildable<R>,ConfigurableStatement<QueryExpressionDSL<R>.QueryExpressionWhereBuilder>
- Enclosing class:
- QueryExpressionDSL<R>
public class QueryExpressionDSL.QueryExpressionWhereBuilder
extends Object
implements BooleanOperations<QueryExpressionDSL<R>.QueryExpressionWhereBuilder>, ConfigurableStatement<QueryExpressionDSL<R>.QueryExpressionWhereBuilder>, OrderByOperations<SelectDSL<R>>, GroupByOperations<QueryExpressionDSL<R>>, ForAndWaitOperations<SelectDSL<R>>, LimitAndOffsetOperations<SelectDSL<R>,R>, Buildable<R>
-
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> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final SqlCriterionprotected final List<AndOrCriteriaGroup> -
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
-
Field Details
-
initialCriterion
-
subCriteria
-
-
Constructor Details
-
QueryExpressionWhereBuilder
-
QueryExpressionWhereBuilder
public QueryExpressionWhereBuilder(SqlCriterion initialCriterion, List<AndOrCriteriaGroup> subCriteria)
-
-
Method Details
-
addSubCriterion
public QueryExpressionDSL<R>.QueryExpressionWhereBuilder addSubCriterion(AndOrCriteriaGroup subCriterion) - Specified by:
addSubCriterionin interfaceBooleanOperations<QueryExpressionDSL<R>.QueryExpressionWhereBuilder>
-
union
-
unionAll
-
orderBy
- Specified by:
orderByin interfaceOrderByOperations<SelectDSL<R>>
-
groupBy
- Specified by:
groupByin interfaceGroupByOperations<QueryExpressionDSL<R>>
-
configureStatement
public QueryExpressionDSL<R>.QueryExpressionWhereBuilder configureStatement(Consumer<StatementConfiguration> consumer) - Specified by:
configureStatementin interfaceConfigurableStatement<QueryExpressionDSL<R>.QueryExpressionWhereBuilder>
-
build
-
setWaitClause
- Specified by:
setWaitClausein interfaceForAndWaitOperations<SelectDSL<R>>
-
setForClause
- Specified by:
setForClausein interfaceForAndWaitOperations<SelectDSL<R>>
-
limitWhenPresent
public LimitAndOffsetOperations.LimitFinisher<SelectDSL<R>,R> limitWhenPresent(@Nullable Long limit) - Specified by:
limitWhenPresentin interfaceLimitAndOffsetOperations<SelectDSL<R>,R>
-
offsetWhenPresent
public LimitAndOffsetOperations.OffsetFirstFinisher<SelectDSL<R>,R> offsetWhenPresent(@Nullable Long offset) - Specified by:
offsetWhenPresentin interfaceLimitAndOffsetOperations<SelectDSL<R>,R>
-
fetchFirstWhenPresent
public LimitAndOffsetOperations.FetchFirstFinisher<SelectDSL<R>> fetchFirstWhenPresent(@Nullable Long fetchFirstRows) - Specified by:
fetchFirstWhenPresentin interfaceLimitAndOffsetOperations<SelectDSL<R>,R>
-
buildWhereModel
-