Uses of Class
cn.dinodev.spring.data.sql.builder.SelectSqlBuilder
Packages that use SelectSqlBuilder
Package
Description
-
Uses of SelectSqlBuilder in cn.dinodev.spring.data.dao
Methods in cn.dinodev.spring.data.dao that return SelectSqlBuilderModifier and TypeMethodDescriptiondefault SelectSqlBuilderJdbcSelectExecutor.newSelect()针对此Entity的新的查询,并自动添加TenantIddefault <E> SelectSqlBuilder生成指定Entity的查询default SelectSqlBuilder针对此Entity的新的查询, 并自动添加TenantIddefault SelectSqlBuilderJdbcSelectExecutor.newSelectWithoutTenant()针对此Entity的新的查询,不添加TenantIddefault SelectSqlBuilderJdbcSelectExecutor.newSelectWithoutTenant(String tableAlias) 针对此Entity的新的查询, 不添加TenantIdMethods in cn.dinodev.spring.data.dao with parameters of type SelectSqlBuilderModifier and TypeMethodDescriptiondefault longJdbcSelectExecutor.count(SelectSqlBuilder sql) 返回计数default TJdbcSelectExecutor.getOne(SelectSqlBuilder sql) 获取一个元素default <P> PJdbcSelectExecutor.getOne(SelectSqlBuilder sql, Class<P> clazz) 获取一个元素default <MK,MV> Map<MK, MV> JdbcSelectExecutor.queryForMap(SelectSqlBuilder sql, String keyColumn, Class<MK> keyClass, Class<MV> valueClass) 将查询结果放到Map中<MK,MV> Map<MK, MV> JdbcSelectExecutor.queryForMap(SelectSqlBuilder sql, String keyColumn, Class<MK> keyClass, String valueColumn, Class<MV> valueClass) 将查询结果放到Map中JdbcSelectExecutor.queryList(SelectSqlBuilder sql) Query listdefault <P> List<P>JdbcSelectExecutor.queryList(SelectSqlBuilder sql, Class<P> clazz) Query listdefault <P> List<P>JdbcSelectExecutor.queryList(SelectSqlBuilder sql, Class<P> clazz, org.springframework.data.domain.Sort sort) Query listJdbcSelectExecutor.queryList(SelectSqlBuilder sql, org.springframework.data.domain.Sort sort) Query listdefault org.springframework.data.domain.Page<T>JdbcSelectExecutor.queryPage(SelectSqlBuilder sql, SelectSqlBuilder countSql, org.springframework.data.domain.Pageable pageable) 分页查询default <P> org.springframework.data.domain.Page<P>JdbcSelectExecutor.queryPage(SelectSqlBuilder sql, SelectSqlBuilder countSql, org.springframework.data.domain.Pageable pageable, Class<P> clazz) 分页查询default org.springframework.data.domain.Page<T>JdbcSelectExecutor.queryPage(SelectSqlBuilder sql, org.springframework.data.domain.Pageable pageable) 分页查询default <P> org.springframework.data.domain.Page<P>JdbcSelectExecutor.queryPage(SelectSqlBuilder sql, org.springframework.data.domain.Pageable pageable, Class<P> clazz) 分页查询 -
Uses of SelectSqlBuilder in cn.dinodev.spring.data.dao.impl
Methods in cn.dinodev.spring.data.dao.impl with parameters of type SelectSqlBuilderModifier and TypeMethodDescription<MK,MV> Map<MK, MV> DinoJdbcRepositoryBase.queryForMap(SelectSqlBuilder sql, String keyColumn, Class<MK> keyClass, String valueColumn, Class<MV> valueClass) -
Uses of SelectSqlBuilder in cn.dinodev.spring.data.sql.builder
Fields in cn.dinodev.spring.data.sql.builder with type parameters of type SelectSqlBuilderModifier and TypeFieldDescriptionprotected List<cn.dinodev.spring.data.sql.builder.SelectSqlBuilder.JoinEntity<SelectSqlBuilder>>SelectSqlBuilder.unionsMethods in cn.dinodev.spring.data.sql.builder that return SelectSqlBuilderModifier and TypeMethodDescription添加查询列信息,可以逐个添加,也可以添加多个,用逗号隔开,如下用法都是合法的添加多个查询列,每个参数可以是一个col,可以是多个,如下用法都是合法的:CROSS JOIN 交叉连接,cross join不可以加onCROSS JOIN 交叉连接,cross join不可以加onSelectSqlBuilder.distinct()声明为distinct查询添加分组表达式,如下用法都是合法的having条件表达式having条件表达式,带参数.JOIN 内连接表,表达式,如下写法都是合法的:JOIN 内连接表,并给表指定别名:JOIN 内连接表,并给表指定别名和连接条件表达式:LEFT JOIN 左连接表,表达式,如下写法都是合法的:LEFT JOIN 左连接表,并给表指定别名:LEFT JOIN 左连接表,并给表指定别名和连接条件表达式:SelectSqlBuilder.limit(int limit) 使用 LIMIT 限制查询条数,生成的SQL语句如下:SelectSqlBuilder.limit(int limit, long offset) 使用 LIMIT 限制查询条数,生成的SQL语句如下:添加 ORDER BY 排序表达式,如下用法都是合法的:添加 ORDER BY 排序表达式,并指明是否 ASC 升序,如下用法都是合法的:RIGHT JOIN 右连接表,表达式,如下写法都是合法的:RIGHT JOIN 左连接表,并给表指定别名:RIGHT JOIN 右连接表,并给表指定别名和连接条件表达式:SelectSqlBuilder.union(SelectSqlBuilder selectSql) 与另一个查询,做 UNION 连接SelectSqlBuilder.unionAll(SelectSqlBuilder selectSql) 与另一个查询,做 UNION ALL 连接Methods in cn.dinodev.spring.data.sql.builder with parameters of type SelectSqlBuilderModifier and TypeMethodDescriptionSelectSqlBuilder.union(SelectSqlBuilder selectSql) 与另一个查询,做 UNION 连接SelectSqlBuilder.unionAll(SelectSqlBuilder selectSql) 与另一个查询,做 UNION ALL 连接Constructors in cn.dinodev.spring.data.sql.builder with parameters of type SelectSqlBuilderModifierConstructorDescriptionSelectSqlBuilder(SelectSqlBuilder subQuery, String alias) 带子查询的SqlBuilder