Package org.mybatis.dynamic.sql.select
Class QueryExpressionDSL<R>
java.lang.Object
org.mybatis.dynamic.sql.dsl.AbstractQueryingDSL
org.mybatis.dynamic.sql.select.QueryExpressionDSL<R>
- All Implemented Interfaces:
ForAndWaitOperations<SelectDSL<R>>,GroupByOperations<QueryExpressionDSL<R>>,HavingOperations<QueryExpressionDSL<R>.QueryExpressionHavingBuilder>,JoinOperations<QueryExpressionDSL<R>.JoinSpecificationFinisher>,LimitAndOffsetOperations<SelectDSL<R>,,R> OrderByOperations<SelectDSL<R>>,WhereOperations<QueryExpressionDSL<R>.QueryExpressionWhereBuilder>,Buildable<R>,ConfigurableStatement<QueryExpressionDSL<R>>
public class QueryExpressionDSL<R>
extends AbstractQueryingDSL
implements JoinOperations<QueryExpressionDSL<R>.JoinSpecificationFinisher>, WhereOperations<QueryExpressionDSL<R>.QueryExpressionWhereBuilder>, GroupByOperations<QueryExpressionDSL<R>>, HavingOperations<QueryExpressionDSL<R>.QueryExpressionHavingBuilder>, ConfigurableStatement<QueryExpressionDSL<R>>, LimitAndOffsetOperations<SelectDSL<R>,R>, ForAndWaitOperations<SelectDSL<R>>, OrderByOperations<SelectDSL<R>>, Buildable<R>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassclassclassclassNested 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> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQueryExpressionDSL(QueryExpressionDSL.Builder<R> builder) -
Method Summary
Modifier and TypeMethodDescriptionapplyHaving(HavingApplier havingApplier) applyWhere(WhereApplier whereApplier) build()protected QueryExpressionModelconfigureStatement(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) setForClause(String forClause) setWaitClause(String waitClause) union()unionAll()where()where(SqlCriterion initialCriterion) Methods inherited from class org.mybatis.dynamic.sql.dsl.AbstractQueryingDSL
addJoinSpecification, addTableAlias, buildJoinModel, setTable, setTable, setTable, setTable, table, tableAliasesMethods 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
-
Constructor Details
-
QueryExpressionDSL
-
-
Method Details
-
from
-
from
-
from
-
from
-
join
public QueryExpressionDSL<R>.JoinSpecificationFinisher join(JoinType joinType, TableExpression joinTable, SqlCriterion initialCriterion) - Specified by:
joinin interfaceJoinOperations<R>
-
join
public QueryExpressionDSL<R>.JoinSpecificationFinisher join(JoinType joinType, SqlTable joinTable, String tableAlias, SqlCriterion initialCriterion) - Specified by:
joinin interfaceJoinOperations<R>
-
where
- Specified by:
wherein interfaceWhereOperations<R>
-
where
- Specified by:
wherein interfaceWhereOperations<R>
-
applyWhere
- Specified by:
applyWherein interfaceWhereOperations<R>
-
configureStatement
- Specified by:
configureStatementin interfaceConfigurableStatement<R>
-
having
- Specified by:
havingin interfaceHavingOperations<R>
-
applyHaving
- Specified by:
applyHavingin interfaceHavingOperations<R>
-
build
-
groupBy
- Specified by:
groupByin interfaceGroupByOperations<R>
-
orderBy
- Specified by:
orderByin interfaceOrderByOperations<R>
-
union
-
unionAll
-
buildModel
-
setWaitClause
- Specified by:
setWaitClausein interfaceForAndWaitOperations<R>
-
setForClause
- Specified by:
setForClausein interfaceForAndWaitOperations<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>
-