Package org.mybatis.dynamic.sql.dsl
Class SelectDSL
java.lang.Object
org.mybatis.dynamic.sql.dsl.SelectDSL
- All Implemented Interfaces:
ForAndWaitOperations<SelectDSL>,GroupByOperations<SelectDSL>,HavingOperations<SelectDSL.QueryExpressionHavingBuilder>,JoinOperations<SelectDSL.JoinSpecificationFinisher>,LimitAndOffsetOperations<SelectDSL,,SelectModel> OrderByOperations<SelectDSL>,WhereOperations<SelectDSL.QueryExpressionWhereBuilder>,Buildable<SelectModel>,ConfigurableStatement<SelectDSL>
public class SelectDSL
extends Object
implements JoinOperations<SelectDSL.JoinSpecificationFinisher>, WhereOperations<SelectDSL.QueryExpressionWhereBuilder>, OrderByOperations<SelectDSL>, GroupByOperations<SelectDSL>, HavingOperations<SelectDSL.QueryExpressionHavingBuilder>, LimitAndOffsetOperations<SelectDSL,SelectModel>, ForAndWaitOperations<SelectDSL>, ConfigurableStatement<SelectDSL>, Buildable<SelectModel>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassclassNested classes/interfaces inherited from interface org.mybatis.dynamic.sql.dsl.JoinOperations
JoinOperations.JoinOnGatherer<F extends BooleanOperations<?>>Nested classes/interfaces inherited from interface org.mybatis.dynamic.sql.dsl.LimitAndOffsetOperations
LimitAndOffsetOperations.FetchFirstFinisher<T>, LimitAndOffsetOperations.LimitFinisher<T,M>, LimitAndOffsetOperations.OffsetFirstFinisher<T, M> -
Method Summary
Modifier and TypeMethodDescriptionapplyHaving(HavingApplier havingApplier) applyWhere(WhereApplier whereApplier) build()configureStatement(Consumer<StatementConfiguration> consumer) fetchFirstWhenPresent(@Nullable Long fetchFirstRows) from(Buildable<SelectModel> select) from(Buildable<SelectModel> select, String tableAlias) groupBy(Collection<? extends BasicColumn> columns) having(SqlCriterion initialCriterion) join(JoinType joinType, SqlTable joinTable, String tableAlias, SqlCriterion initialCriterion) join(JoinType joinType, TableExpression joinTable, SqlCriterion initialCriterion) limitWhenPresent(@Nullable Long limit) offsetWhenPresent(@Nullable Long offset) orderBy(Collection<? extends SortSpecification> columns) static SelectDSLselect(Collection<? extends BasicColumn> selectList) static SelectDSLselect(BasicColumn... selectList) static SelectDSLselectDistinct(Collection<? extends BasicColumn> selectList) static SelectDSLselectDistinct(BasicColumn... selectList) setForClause(String forClause) setWaitClause(String waitClause) union()unionAll()where()where(SqlCriterion initialCriterion) 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.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.HavingOperations
having, having, having, havingMethods inherited from interface org.mybatis.dynamic.sql.dsl.JoinOperations
fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, join, join, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoinMethods inherited from interface org.mybatis.dynamic.sql.dsl.LimitAndOffsetOperations
fetchFirst, limit, offsetMethods inherited from interface org.mybatis.dynamic.sql.dsl.OrderByOperations
orderBy
-
Method Details
-
select
-
select
-
selectDistinct
-
selectDistinct
-
from
-
from
-
from
-
from
-
join
public SelectDSL.JoinSpecificationFinisher join(JoinType joinType, TableExpression joinTable, SqlCriterion initialCriterion) - Specified by:
joinin interfaceJoinOperations<SelectDSL.JoinSpecificationFinisher>
-
join
public SelectDSL.JoinSpecificationFinisher join(JoinType joinType, SqlTable joinTable, String tableAlias, SqlCriterion initialCriterion) - Specified by:
joinin interfaceJoinOperations<SelectDSL.JoinSpecificationFinisher>
-
where
- Specified by:
wherein interfaceWhereOperations<SelectDSL.QueryExpressionWhereBuilder>
-
where
- Specified by:
wherein interfaceWhereOperations<SelectDSL.QueryExpressionWhereBuilder>
-
applyWhere
- Specified by:
applyWherein interfaceWhereOperations<SelectDSL.QueryExpressionWhereBuilder>
-
orderBy
- Specified by:
orderByin interfaceOrderByOperations<SelectDSL>
-
groupBy
- Specified by:
groupByin interfaceGroupByOperations<SelectDSL>
-
having
- Specified by:
havingin interfaceHavingOperations<SelectDSL.QueryExpressionHavingBuilder>
-
applyHaving
- Specified by:
applyHavingin interfaceHavingOperations<SelectDSL.QueryExpressionHavingBuilder>
-
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>
-
union
-
unionAll
-
configureStatement
- Specified by:
configureStatementin interfaceConfigurableStatement<SelectDSL>
-
build
- Specified by:
buildin interfaceBuildable<SelectModel>
-