Uses of Enum Class
cool.scx.data.query.QueryOption
Packages that use QueryOption
-
Uses of QueryOption in cool.scx.data.query
Subclasses with type arguments of type QueryOption in cool.scx.data.queryMethods in cool.scx.data.query that return QueryOptionModifier and TypeMethodDescriptionstatic QueryOptionReturns the enum constant of this class with the specified name.static QueryOption[]QueryOption.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in cool.scx.data.query with parameters of type QueryOptionModifier and TypeMethodDescriptionstatic OrderByQueryBuilder.asc(String name, QueryOption... options) 正序 : 也就是从小到大 (1,2,3,4,5,6)final JunctionJunction.between(String fieldName, Object value1, Object value2, QueryOption... options) static WhereQueryBuilder.between(String fieldName, Object value1, Object value2, QueryOption... options) 在范围内 (low <= field <= high)static OrderByQueryBuilder.desc(String name, QueryOption... options) 倒序 : 也就是从大到小 (6,5,4,3,2,1)final JunctionJunction.eq(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.eq(String fieldName, Object value, QueryOption... options) 相等 (支持 null 比较)final JunctionJunction.gt(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.gt(String fieldName, Object value, QueryOption... options) 大于final JunctionJunction.gte(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.gte(String fieldName, Object value, QueryOption... options) 大于等于final JunctionJunction.in(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.in(String fieldName, Object value, QueryOption... options) 在集合内 (集合元素中 null 也是合法匹配项, 空集合则表示不匹配任何项)final JunctionJunction.jsonContains(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.jsonContains(String fieldName, Object value, QueryOption... options) JSON 包含某子结构, 针对 JSON 对象或数组的子集匹配final JunctionJunction.jsonOverlaps(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.jsonOverlaps(String fieldName, Object value, QueryOption... options) JSON 数组之间有交集final JunctionJunction.like(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.like(String fieldName, Object value, QueryOption... options) 双端模糊匹配final JunctionJunction.likeRegex(String fieldName, String value, QueryOption... options) static WhereQueryBuilder.likeRegex(String fieldName, String value, QueryOption... options) 正则表达式匹配final JunctionJunction.lt(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.lt(String fieldName, Object value, QueryOption... options) 小于final JunctionJunction.lte(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.lte(String fieldName, Object value, QueryOption... options) 小于等于final JunctionJunction.ne(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.ne(String fieldName, Object value, QueryOption... options) 不相等 (支持 null 比较)final JunctionJunction.notBetween(String fieldName, Object value1, Object value2, QueryOption... options) static WhereQueryBuilder.notBetween(String fieldName, Object value1, Object value2, QueryOption... options) 不在范围内 (field < low 或 field > high)final JunctionJunction.notIn(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.notIn(String fieldName, Object value, QueryOption... options) 不在集合内 (集合元素中 null 也是合法匹配项, 空集合则表示不匹配任何项)final JunctionJunction.notLike(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.notLike(String fieldName, Object value, QueryOption... options) NOT 双端模糊匹配final JunctionJunction.notLikeRegex(String fieldName, String value, QueryOption... options) static WhereQueryBuilder.notLikeRegex(String fieldName, String value, QueryOption... options) NOT 正则表达式匹配static QueryOption.InfoQueryOption.ofInfo(QueryOption... queryOptions) Constructors in cool.scx.data.query with parameters of type QueryOptionModifierConstructorDescriptionGroupBy(String name, QueryOption... options) OrderBy(String name, OrderByType orderByType, QueryOption... options) 添加一个排序字段