Uses of Enum Class
cool.scx.data.query.QueryOption
Packages that use QueryOption
-
Uses of QueryOption in cool.scx.data.query
Methods 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 LogicLogic.between(String fieldName, Object value1, Object value2, QueryOption... options) static WhereQueryBuilder.between(String fieldName, Object value1, Object value2, QueryOption... options) 两者之间static OrderByQueryBuilder.desc(String name, QueryOption... options) 倒序 : 也就是从大到小 (6,5,4,3,2,1)final LogicLogic.eq(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.eq(String fieldName, Object value, QueryOption... options) 相等final LogicLogic.ge(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.ge(String fieldName, Object value, QueryOption... options) 大于等于final LogicLogic.gt(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.gt(String fieldName, Object value, QueryOption... options) 大于final LogicLogic.in(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.in(String fieldName, Object value, QueryOption... options) 在其中final LogicLogic.isNotNull(String fieldName, QueryOption... options) static WhereQueryBuilder.isNotNull(String fieldName, QueryOption... options) 不为空final LogicLogic.isNull(String fieldName, QueryOption... options) static WhereQueryBuilder.isNull(String fieldName, QueryOption... options) 为空final LogicLogic.jsonContains(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.jsonContains(String fieldName, Object value, QueryOption... options) 包含 : 一般用于 JSON 格式字段 区别于 infinal LogicLogic.le(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.le(String fieldName, Object value, QueryOption... options) 小于等于final LogicLogic.like(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.like(String fieldName, Object value, QueryOption... options) like : 默认会在首尾添加 %final LogicLogic.likeRegex(String fieldName, String value, QueryOption... options) static WhereQueryBuilder.likeRegex(String fieldName, String value, QueryOption... options) like : 根据 SQL 表达式进行判断final LogicLogic.lt(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.lt(String fieldName, Object value, QueryOption... options) 小于final LogicLogic.ne(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.ne(String fieldName, Object value, QueryOption... options) 不相等final LogicLogic.notBetween(String fieldName, Object value1, Object value2, QueryOption... options) static WhereQueryBuilder.notBetween(String fieldName, Object value1, Object value2, QueryOption... options) 不处于两者之间final LogicLogic.notIn(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.notIn(String fieldName, Object value, QueryOption... options) 不在其中final LogicLogic.notLike(String fieldName, Object value, QueryOption... options) static WhereQueryBuilder.notLike(String fieldName, Object value, QueryOption... options) not like : 默认会在首尾添加 %final LogicLogic.notLikeRegex(String fieldName, String value, QueryOption... options) static WhereQueryBuilder.notLikeRegex(String fieldName, String value, QueryOption... options) not like : 根据 SQL 表达式进行判断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) 添加一个排序字段