接口 QueryOperations<C extends QueryOperations<C>>
- 类型参数:
C- 子类类型
- 所有超级接口:
Between<C>,ConditionOperations<C>,Eq<C>,Expression<C>,Ge<C>,Gt<C>,In<C>,IsNotNull<C>,IsNull<C>,Le<C>,Like<C>,LikeLeft<C>,LikeRight<C>,LimitOperations<C>,Lt<C>,Ne<C>,NotBetween<C>,NotIn<C>,NotLike<C>,ResolveFieldName
- 所有已知子接口:
QueryAction<R>
- 从以下版本开始:
- 0.0.4
- 作者:
- zeng
-
方法概要
修饰符和类型方法说明分组:GROUP BY 字段, ...分组:GROUP BY 字段, ...分组:GROUP BY 字段, ...分组:GROUP BY 字段, ...分组:GROUP BY 字段, ...default C分组:GROUP BY 字段, ...分组:GROUP BY 字段, ...分组:GROUP BY 字段, ...分组:GROUP BY 字段, ...分组:GROUP BY 字段, ...groupByEnum(boolean condition, List<Enum<?>> fields) 分组:GROUP BY 字段, ...groupByEnum(List<Enum<?>> fields) 分组:GROUP BY 字段, ...HAVING ( sql语句 )HAVING ( sql语句 )limit(boolean condition, long offset, long num) 限制查询数据limit(long offset, long num) 限制查询数据offset(boolean condition, long num) 偏移数量offset(long num) 偏移数量排序:ORDER BY 字段, ...排序:ORDER BY 字段, ...排序:ORDER BY 字段, ...排序:ORDER BY 字段, ...排序:ORDER BY 字段, ...default C排序:ORDER BY 字段, ...排序:ORDER BY 字段, ...排序:ORDER BY 字段, ...排序:ORDER BY 字段, ...排序:ORDER BY 字段, ...orderByAsc(boolean condition, Enum<?> field) 排序:ORDER BY 字段, ...orderByAsc(boolean condition, Enum<?>... fields) 排序:ORDER BY 字段, ...orderByAsc(boolean condition, String field) 排序:ORDER BY 字段, ...orderByAsc(boolean condition, String... fields) 排序:ORDER BY 字段, ...orderByAsc(boolean condition, List<String> fields) 排序:ORDER BY 字段, ...default CorderByAsc(Enum<?> field) 排序:ORDER BY 字段, ...orderByAsc(Enum<?>... fields) 排序:ORDER BY 字段, ...orderByAsc(String field) 排序:ORDER BY 字段, ...orderByAsc(String... fields) 排序:ORDER BY 字段, ...orderByAsc(List<String> fields) 排序:ORDER BY 字段, ...orderByDesc(boolean condition, Enum<?> field) 排序:ORDER BY 字段, ...orderByDesc(boolean condition, Enum<?>... fields) 排序:ORDER BY 字段, ...orderByDesc(boolean condition, String field) 排序:ORDER BY 字段, ...orderByDesc(boolean condition, String... fields) 排序:ORDER BY 字段, ...orderByDesc(boolean condition, List<String> fields) 排序:ORDER BY 字段, ...default CorderByDesc(Enum<?> field) 排序:ORDER BY 字段, ...orderByDesc(Enum<?>... fields) 排序:ORDER BY 字段, ...orderByDesc(String field) 排序:ORDER BY 字段, ...orderByDesc(String... fields) 排序:ORDER BY 字段, ...orderByDesc(List<String> fields) 排序:ORDER BY 字段, ...orderByEnum(boolean condition, boolean isAsc, List<Enum<?>> fields) 排序:ORDER BY 字段, ...orderByEnum(boolean isAsc, List<Enum<?>> fields) 排序:ORDER BY 字段, ...orderByEnumAsc(boolean condition, List<Enum<?>> fields) 排序:ORDER BY 字段, ...orderByEnumAsc(List<Enum<?>> fields) 排序:ORDER BY 字段, ...orderByEnumDesc(boolean condition, List<Enum<?>> fields) 排序:ORDER BY 字段, ...orderByEnumDesc(List<Enum<?>> fields) 排序:ORDER BY 字段, ...pageable(boolean condition, org.elsfs.tool.core.page.IPage<?> page) 设置分页信息pageable(org.elsfs.tool.core.page.IPage<?> pageable) 设置分页信息选择字段选择字段选择字段选择字段选择字段选择字段选择字段选择字段从接口继承的方法 org.elsfs.tool.sql.interfaces.single.Between
between, between, between, between, between, between从接口继承的方法 org.elsfs.tool.sql.singular.facade.ConditionOperations
and, and, apply, apply, exists, exists, nested, nested, notExists, notExists, or, or, or, or从接口继承的方法 org.elsfs.tool.sql.interfaces.single.Eq
eq, eq, eq, eq, eq, eq, eqSql, eqSql, eqSql, eqSql, eqSql, eqSql, ne, ne, ne, ne, ne, ne从接口继承的方法 org.elsfs.tool.sql.interfaces.Expression
expression, expression从接口继承的方法 org.elsfs.tool.sql.interfaces.single.Ge
ge, ge, ge, ge, ge, ge, geSql, geSql, geSql, geSql, geSql, geSql从接口继承的方法 org.elsfs.tool.sql.interfaces.single.Gt
gt, gt, gt, gt, gt, gt, gtSql, gtSql, gtSql, gtSql, gtSql, gtSql从接口继承的方法 org.elsfs.tool.sql.interfaces.single.In
in, in, in, in, in, in, in, in, in, in, in, in, inSql, inSql, inSql, inSql, inSql, inSql从接口继承的方法 org.elsfs.tool.sql.interfaces.single.IsNotNull
isNotNull, isNotNull, isNotNull, isNotNull, isNotNull, isNotNull从接口继承的方法 org.elsfs.tool.sql.interfaces.single.Le
le, le, le, le, le, le, leSql, leSql, leSql, leSql, leSql, leSql从接口继承的方法 org.elsfs.tool.sql.interfaces.single.LikeLeft
likeLeft, likeLeft, likeLeft, likeLeft, likeLeft, likeLeft从接口继承的方法 org.elsfs.tool.sql.interfaces.single.LikeRight
likeRight, likeRight, likeRight, likeRight, likeRight, likeRight从接口继承的方法 org.elsfs.tool.sql.singular.facade.LimitOperations
limit, limit从接口继承的方法 org.elsfs.tool.sql.interfaces.single.Lt
lt, lt, lt, lt, lt, lt, ltSql, ltSql, ltSql, ltSql, ltSql, ltSql从接口继承的方法 org.elsfs.tool.sql.interfaces.single.NotBetween
notBetween, notBetween, notBetween, notBetween, notBetween, notBetween从接口继承的方法 org.elsfs.tool.sql.interfaces.single.NotIn
notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notInSql, notInSql, notInSql, notInSql, notInSql, notInSql从接口继承的方法 org.elsfs.tool.sql.interfaces.single.NotLike
notLike, notLike, notLike, notLike, notLike, notLike从接口继承的方法 org.elsfs.tool.sql.resolve.ResolveFieldName
resolveFieldName, resolveFieldName
-
方法详细资料
-
select
选择字段- 参数:
fields- 字段数组- 返回:
- 具体实现
-
select
选择字段- 参数:
fields- 字段枚举数组- 返回:
- 具体实现
-
select
选择字段- 参数:
condition- 执行条件fields- 字段数组- 返回:
- 具体实现
-
select
选择字段- 参数:
condition- 执行条件fields- 字段枚举数组- 返回:
- 具体实现
-
selectAs
选择字段- 参数:
field- 字段枚举fieldAlias- 字段别名- 返回:
- 具体实现
-
selectAs
选择字段- 参数:
field- 字段枚举fieldAlias- 字段别名枚举- 返回:
- 具体实现
-
selectAs
选择字段- 参数:
condition- 执行条件field- 字段枚举fieldAlias- 字段别名- 返回:
- 具体实现
-
selectAs
选择字段- 参数:
condition- 执行条件field- 字段枚举fieldAlias- 字段别名枚举- 返回:
- 具体实现
-
pageable
设置分页信息- 参数:
pageable- 可分页对象- 返回:
- 具体实现
-
pageable
设置分页信息- 参数:
condition- 执行条件page- 可分页对象- 返回:
- 具体实现
-
limit
限制查询数据- 参数:
condition- 执行条件offset- 开始位置num- 数量- 返回:
- 具体实现
-
limit
限制查询数据- 参数:
offset- 开始位置num- 数量- 返回:
- 具体实现
-
offset
偏移数量- 参数:
num- 数量- 返回:
- 具体实现
-
offset
偏移数量- 参数:
condition- 执行条件num- 数量- 返回:
- 具体实现
-
groupBy
分组:GROUP BY 字段, ...例: groupBy("id")
- 参数:
condition- 执行条件field- 单个字段- 返回:
- children
-
groupBy
分组:GROUP BY 字段, ...例: groupBy("id")
- 参数:
condition- 执行条件field- 单个字段枚举- 返回:
- children
-
groupBy
分组:GROUP BY 字段, ...例: groupBy("id")
- 参数:
field- 单个字段- 返回:
- children
-
groupBy
分组:GROUP BY 字段, ...例: groupBy("id")
- 参数:
field- 单个字段枚举- 返回:
- children
-
groupBy
分组:GROUP BY 字段, ...例: groupBy(Arrays.asList("id", "name"))
- 参数:
fields- 字段数组- 返回:
- children
-
groupBy
分组:GROUP BY 字段, ...例: groupBy(Arrays.asList("id", "name"))
- 参数:
condition- 执行条件fields- 字段数组- 返回:
- children
-
groupBy
分组:GROUP BY 字段, ...例: groupBy(Arrays.asList("id", "name"))
- 参数:
condition- 执行条件fields- 字段数组- 返回:
- children
-
groupBy
分组:GROUP BY 字段, ...例: groupBy(Arrays.asList("id", "name"))
- 参数:
condition- 执行条件fields- 字段枚举数组- 返回:
- children
-
groupBy
分组:GROUP BY 字段, ...例: groupBy(Arrays.asList("id", "name"))
- 参数:
fields- 字段数组- 返回:
- children
-
groupBy
分组:GROUP BY 字段, ...例: groupBy(Arrays.asList("id", "name"))
- 参数:
fields- 字段枚举数组- 返回:
- children
-
groupByEnum
分组:GROUP BY 字段, ...例: groupBy(Arrays.asList("id", "name"))
- 参数:
condition- 执行条件fields- 字段枚举数组- 返回:
- children
-
groupByEnum
分组:GROUP BY 字段, ...例: groupBy(Arrays.asList("id", "name"))
- 参数:
fields- 字段枚举数组- 返回:
- children
-
orderByAsc
排序:ORDER BY 字段, ... ASC例: orderByAsc(true, "id")
- 参数:
condition- 执行条件field- 单个字段- 返回:
- children
-
orderByAsc
排序:ORDER BY 字段, ... ASC例: orderByAsc(true, "id")
- 参数:
condition- 执行条件field- 单个字段枚举- 返回:
- children
-
orderByAsc
排序:ORDER BY 字段, ... ASC例: orderByAsc(true, "id")
- 参数:
field- 单个字段- 返回:
- children
-
orderByAsc
排序:ORDER BY 字段, ... ASC例: orderByAsc(true, "id")
- 参数:
field- 单个字段枚举- 返回:
- children
-
orderByAsc
排序:ORDER BY 字段, ... ASC例: orderByAsc(true, Arrays.asList("id", "name"))
- 参数:
condition- 执行条件fields- 字段数组- 返回:
- children
-
orderByAsc
排序:ORDER BY 字段, ... ASC例: orderByAsc(true, Arrays.asList("id", "name"))
- 参数:
condition- 执行条件fields- 字段数组- 返回:
- children
-
orderByAsc
排序:ORDER BY 字段, ... ASC例: orderByAsc(true, Arrays.asList("id", "name"))
- 参数:
condition- 执行条件fields- 字段枚举数组- 返回:
- children
-
orderByAsc
排序:ORDER BY 字段, ... ASC例: orderByAsc(true, Arrays.asList("id", "name"))
- 参数:
fields- 字段数组- 返回:
- children
-
orderByAsc
排序:ORDER BY 字段, ... ASC例: orderByAsc(true, Arrays.asList("id", "name"))
- 参数:
fields- 字段枚举数组- 返回:
- children
-
orderByAsc
排序:ORDER BY 字段, ... ASC例: orderByAsc(true, Arrays.asList("id", "name"))
- 参数:
fields- 字段数组- 返回:
- children
-
orderByEnumAsc
排序:ORDER BY 字段, ... ASC例: orderByAsc(true, Arrays.asList("id", "name"))
- 参数:
condition- 执行条件fields- 字段枚举数组- 返回:
- children
-
orderByEnumAsc
排序:ORDER BY 字段, ... ASC例: orderByAsc(true, Arrays.asList("id", "name"))
- 参数:
fields- 字段枚举数组- 返回:
- children
-
orderBy
排序:ORDER BY 字段, ...例: orderBy(true, "id")
- 参数:
isAsc- 是否是 ASC 排序field- 单个字段- 返回:
- children
-
orderBy
排序:ORDER BY 字段, ...例: orderBy(true, "id")
- 参数:
isAsc- 是否是 ASC 排序field- 单个字段枚举- 返回:
- children
-
orderBy
排序:ORDER BY 字段, ...例: orderBy(true, Arrays.asList("id", "name"))
- 参数:
isAsc- 是否是 ASC 排序fields- 字段列表- 返回:
- children
-
orderBy
排序:ORDER BY 字段, ...例: orderBy(true, "id")
- 参数:
condition- 执行条件isAsc- 是否是 ASC 排序field- 单个字段- 返回:
- children
-
orderBy
排序:ORDER BY 字段, ...例: orderBy(true, "id")
- 参数:
condition- 执行条件isAsc- 是否是 ASC 排序field- 单个字段枚举- 返回:
- children
-
orderBy
排序:ORDER BY 字段, ...例: orderBy(true, Arrays.asList("id", "name"))
- 参数:
condition- 执行条件isAsc- 是否是 ASC 排序fields- 字段列表- 返回:
- children
-
orderBy
排序:ORDER BY 字段, ...例: orderBy(true, Arrays.asList("id", "name"))
- 参数:
condition- 执行条件isAsc- 是否是 ASC 排序fields- 字段列表- 返回:
- children
-
orderBy
排序:ORDER BY 字段, ...例: orderBy(true, Arrays.asList("id", "name"))
- 参数:
condition- 执行条件isAsc- 是否是 ASC 排序fields- 字段枚举列表- 返回:
- children
-
orderBy
排序:ORDER BY 字段, ...例: orderBy(true, Arrays.asList("id", "name"))
- 参数:
isAsc- 是否是 ASC 排序fields- 字段列表- 返回:
- children
-
orderBy
排序:ORDER BY 字段, ...例: orderBy(true, Arrays.asList("id", "name"))
- 参数:
isAsc- 是否是 ASC 排序fields- 字段枚举列表- 返回:
- children
-
orderByDesc
排序:ORDER BY 字段, ... DESC例: orderByDesc(true, "id")
- 参数:
condition- 执行条件field- 字段- 返回:
- children
-
orderByDesc
排序:ORDER BY 字段, ... DESC例: orderByDesc(true, "id")
- 参数:
condition- 执行条件field- 字段枚举- 返回:
- children
-
orderByDesc
排序:ORDER BY 字段, ... DESC例: orderByDesc(true, "id")
- 参数:
field- 字段- 返回:
- children
-
orderByDesc
排序:ORDER BY 字段, ... DESC例: orderByDesc(true, "id")
- 参数:
field- 字段枚举- 返回:
- children
-
orderByDesc
排序:ORDER BY 字段, ... DESC例: orderByDesc(true, Arrays.asList("id", "name"))
- 参数:
condition- 执行条件fields- 字段列表- 返回:
- children
-
orderByDesc
排序:ORDER BY 字段, ... DESC例: orderByDesc(true, Arrays.asList("id", "name"))
- 参数:
fields- 字段列表- 返回:
- children
-
orderByDesc
排序:ORDER BY 字段, ... DESC例: orderByDesc(true, Arrays.asList("id", "name"))
- 参数:
condition- 执行条件fields- 字段列表- 返回:
- children
-
orderByDesc
排序:ORDER BY 字段, ... DESC例: orderByDesc(true, Arrays.asList("id", "name"))
- 参数:
condition- 执行条件fields- 字段枚举列表- 返回:
- children
-
orderByDesc
排序:ORDER BY 字段, ... DESC例: orderByDesc(true, Arrays.asList("id", "name"))
- 参数:
fields- 字段列表- 返回:
- children
-
orderByDesc
排序:ORDER BY 字段, ... DESC例: orderByDesc(true, Arrays.asList("id", "name"))
- 参数:
fields- 字段枚举列表- 返回:
- children
-
orderByEnum
排序:ORDER BY 字段, ...例: orderBy(true, Arrays.asList("id", "name"))
- 参数:
isAsc- 是否是 ASC 排序fields- 字段枚举列表- 返回:
- children
-
orderByEnum
排序:ORDER BY 字段, ...例: orderBy(true, Arrays.asList("id", "name"))
- 参数:
condition- 执行条件isAsc- 是否是 ASC 排序fields- 字段枚举列表- 返回:
- children
-
orderByEnumDesc
排序:ORDER BY 字段, ... DESC例: orderByDesc(true, Arrays.asList("id", "name"))
- 参数:
fields- 字段枚举列表- 返回:
- children
-
orderByEnumDesc
排序:ORDER BY 字段, ... DESC例: orderByDesc(true, Arrays.asList("id", "name"))
- 参数:
condition- 执行条件fields- 字段枚举列表- 返回:
- children
-
having
HAVING ( sql语句 )例1: having("sum(age) > 10")
例2: having("sum(age) > {0}", 10)
- 参数:
sqlValue- sql 语句params- 参数数组- 返回:
- children
-
having
HAVING ( sql语句 )例1: having("sum(age) > 10")
例2: having("sum(age) > {0}", 10)
- 参数:
condition- 执行条件sqlValue- sql 语句params- 参数数组- 返回:
- children
-