Package org.mybatis.dynamic.sql.select
Class QueryExpressionDSL<R>
java.lang.Object
org.mybatis.dynamic.sql.where.AbstractWhereStarter<QueryExpressionDSL<R>.QueryExpressionWhereBuilder,QueryExpressionDSL<R>>
org.mybatis.dynamic.sql.select.AbstractQueryExpressionDSL<QueryExpressionDSL<R>.QueryExpressionWhereBuilder,QueryExpressionDSL<R>>
org.mybatis.dynamic.sql.select.QueryExpressionDSL<R>
- All Implemented Interfaces:
Buildable<R>
,ConfigurableStatement<QueryExpressionDSL<R>>
public class QueryExpressionDSL<R>
extends AbstractQueryExpressionDSL<QueryExpressionDSL<R>.QueryExpressionWhereBuilder,QueryExpressionDSL<R>>
implements Buildable<R>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
class
class
class
class
class
class
-
Constructor Summary
ModifierConstructorDescriptionprotected
QueryExpressionDSL
(QueryExpressionDSL.FromGatherer<R> fromGatherer, SqlTable table, String tableAlias) protected
QueryExpressionDSL
(QueryExpressionDSL.FromGatherer<R> fromGatherer, TableExpression table) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyHaving
(CriteriaGroup criteriaGroup) This method is meant for use by the Kotlin DSL.build()
protected QueryExpressionModel
configureStatement
(Consumer<StatementConfiguration> consumer) fetchFirst
(long fetchFirstRows) fullJoin
(Buildable<SelectModel> joinTable, String tableAlias) protected QueryExpressionDSL
<R> getThis()
groupBy
(Collection<? extends BasicColumn> columns) groupBy
(BasicColumn... columns) protected QueryExpressionDSL<R>.QueryExpressionHavingBuilder
having()
This method is protected here because it doesn't make sense at this point in the DSL.join
(Buildable<SelectModel> joinTable, String tableAlias) leftJoin
(Buildable<SelectModel> joinTable, String tableAlias) limit
(long limit) offset
(long offset) orderBy
(Collection<? extends SortSpecification> columns) orderBy
(SortSpecification... columns) rightJoin
(Buildable<SelectModel> joinTable, String tableAlias) union()
unionAll()
where()
Methods inherited from class org.mybatis.dynamic.sql.select.AbstractQueryExpressionDSL
addJoinSpecificationBuilder, addTableAlias, buildJoinModel, buildSubQuery, buildSubQuery, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, table, tableAliases
Methods inherited from class org.mybatis.dynamic.sql.where.AbstractWhereStarter
applyWhere, where, where, where, where, where, where, where
-
Constructor Details
-
QueryExpressionDSL
protected QueryExpressionDSL(QueryExpressionDSL.FromGatherer<R> fromGatherer, TableExpression table) -
QueryExpressionDSL
protected QueryExpressionDSL(QueryExpressionDSL.FromGatherer<R> fromGatherer, SqlTable table, String tableAlias)
-
-
Method Details
-
where
- Specified by:
where
in classAbstractWhereStarter<QueryExpressionDSL<R>.QueryExpressionWhereBuilder,
QueryExpressionDSL<R>>
-
configureStatement
- Specified by:
configureStatement
in interfaceConfigurableStatement<R>
-
having
This method is protected here because it doesn't make sense at this point in the DSL.- Returns:
- The having builder
-
applyHaving
This method is meant for use by the Kotlin DSL. We expect a full set of criteria.- Parameters:
criteriaGroup
- the full criteria for a Kotlin Having clause
-
build
-
join
-
join
-
join
public QueryExpressionDSL<R>.JoinSpecificationStarter join(Buildable<SelectModel> joinTable, String tableAlias) -
leftJoin
-
leftJoin
public QueryExpressionDSL<R>.JoinSpecificationStarter leftJoin(SqlTable joinTable, String tableAlias) -
leftJoin
public QueryExpressionDSL<R>.JoinSpecificationStarter leftJoin(Buildable<SelectModel> joinTable, String tableAlias) -
rightJoin
-
rightJoin
public QueryExpressionDSL<R>.JoinSpecificationStarter rightJoin(SqlTable joinTable, String tableAlias) -
rightJoin
public QueryExpressionDSL<R>.JoinSpecificationStarter rightJoin(Buildable<SelectModel> joinTable, String tableAlias) -
fullJoin
-
fullJoin
public QueryExpressionDSL<R>.JoinSpecificationStarter fullJoin(SqlTable joinTable, String tableAlias) -
fullJoin
public QueryExpressionDSL<R>.JoinSpecificationStarter fullJoin(Buildable<SelectModel> joinTable, String tableAlias) -
groupBy
-
groupBy
-
orderBy
-
orderBy
-
union
-
unionAll
-
buildModel
-
limit
-
offset
-
fetchFirst
-
getThis
- Specified by:
getThis
in classAbstractQueryExpressionDSL<QueryExpressionDSL<R>.QueryExpressionWhereBuilder,
QueryExpressionDSL<R>>
-