Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(Entity) - Method in interface cool.scx.data.Dao
- add(Entity, FieldFilter) - Method in interface cool.scx.data.Dao
-
添加一条数据
- add(Object...) - Method in class cool.scx.data.query.GroupBy
- add(Object...) - Method in class cool.scx.data.query.OrderBy
- add(Object...) - Method in class cool.scx.data.query.Where
- add(String, OrderByType, OrderByOption...) - Method in class cool.scx.data.query.OrderByBodySet
-
添加一个排序字段
- add(Collection<Entity>) - Method in interface cool.scx.data.Dao
- add(Collection<Entity>, FieldFilter) - Method in interface cool.scx.data.Dao
-
添加多条数据
- add0(String, WhereType, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
添加一个查询条件
- add1(String, WhereType, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
添加一个查询条件
- add2(String, WhereType, Object, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
添加一个查询条件
- addGroupBy(Object...) - Method in interface cool.scx.data.Query
- addGroupBy(Object...) - Method in interface cool.scx.data.query.QueryBridge
- addGroupBy(Object...) - Method in class cool.scx.data.query.QueryImpl
- addGroupBy(Object...) - Method in class cool.scx.data.query.QueryLike
- addOrderBy(Object...) - Method in interface cool.scx.data.Query
- addOrderBy(Object...) - Method in interface cool.scx.data.query.QueryBridge
- addOrderBy(Object...) - Method in class cool.scx.data.query.QueryImpl
- addOrderBy(Object...) - Method in class cool.scx.data.query.QueryLike
- addWhere(Object...) - Method in interface cool.scx.data.Query
- addWhere(Object...) - Method in interface cool.scx.data.query.QueryBridge
- addWhere(Object...) - Method in class cool.scx.data.query.QueryImpl
- addWhere(Object...) - Method in class cool.scx.data.query.QueryLike
- and(Object...) - Static method in class cool.scx.data.QueryBuilder
- AND - Class in cool.scx.data.query
- AND - Enum constant in enum class cool.scx.data.query.LogicType
- AND(Object...) - Constructor for class cool.scx.data.query.AND
- andSet() - Static method in class cool.scx.data.QueryBuilder
- asc(String, OrderByOption...) - Method in class cool.scx.data.query.OrderByBodySet
-
正序 : 也就是从小到大 (1,2,3,4,5,6)
- asc(String, OrderByOption...) - Static method in class cool.scx.data.QueryBuilder
-
正序 : 也就是从小到大 (1,2,3,4,5,6)
- ASC - Enum constant in enum class cool.scx.data.query.OrderByType
-
正序 : 也就是从小到大 (1,2,3,4,5,6)
B
- between(String, Object, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
两者之间
- between(String, Object, Object, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
两者之间
- BETWEEN - Enum constant in enum class cool.scx.data.query.WhereType
-
在之间
C
- clauses() - Method in class cool.scx.data.query.AND
- clauses() - Method in class cool.scx.data.query.GroupBy
- clauses() - Method in interface cool.scx.data.query.Logic
- clauses() - Method in class cool.scx.data.query.OR
- clauses() - Method in class cool.scx.data.query.OrderBy
- clauses() - Method in class cool.scx.data.query.OrderByBodySet
-
orderByBodyList
- clauses() - Method in class cool.scx.data.query.Where
- clauses() - Method in class cool.scx.data.query.WhereBodySet
- clear() - Method in interface cool.scx.data.Dao
-
清空整个数据源 (慎用)
- clear() - Method in class cool.scx.data.query.GroupBy
-
clear
- clear() - Method in class cool.scx.data.query.OrderBy
-
clear
- clear() - Method in class cool.scx.data.query.OrderByBodySet
-
clear
- clear() - Method in class cool.scx.data.query.Where
-
清除所有 where 条件 (不包括 whereSQL)
- clear() - Method in class cool.scx.data.query.WhereBodySet
-
清除所有 where 条件 (不包括 whereSQL)
- clearGroupBy() - Method in interface cool.scx.data.Query
- clearGroupBy() - Method in interface cool.scx.data.query.QueryBridge
- clearGroupBy() - Method in class cool.scx.data.query.QueryImpl
- clearGroupBy() - Method in class cool.scx.data.query.QueryLike
- clearLimit() - Method in interface cool.scx.data.Query
- clearLimit() - Method in class cool.scx.data.query.LimitInfo
-
clearLimit
- clearLimit() - Method in interface cool.scx.data.query.QueryBridge
- clearLimit() - Method in class cool.scx.data.query.QueryImpl
- clearLimit() - Method in class cool.scx.data.query.QueryLike
- clearOffset() - Method in interface cool.scx.data.Query
- clearOffset() - Method in class cool.scx.data.query.LimitInfo
-
clearOffset
- clearOffset() - Method in interface cool.scx.data.query.QueryBridge
- clearOffset() - Method in class cool.scx.data.query.QueryImpl
- clearOffset() - Method in class cool.scx.data.query.QueryLike
- clearOrderBy() - Method in interface cool.scx.data.Query
- clearOrderBy() - Method in interface cool.scx.data.query.QueryBridge
- clearOrderBy() - Method in class cool.scx.data.query.QueryImpl
- clearOrderBy() - Method in class cool.scx.data.query.QueryLike
- clearWhere() - Method in interface cool.scx.data.Query
- clearWhere() - Method in interface cool.scx.data.query.QueryBridge
- clearWhere() - Method in class cool.scx.data.query.QueryImpl
- clearWhere() - Method in class cool.scx.data.query.QueryLike
- concat(WhereClause) - Method in class cool.scx.data.query.WhereClause
-
拼接
- cool.scx.data - package cool.scx.data
- cool.scx.data.query - package cool.scx.data.query
- cool.scx.data.query.deserializer - package cool.scx.data.query.deserializer
- cool.scx.data.query.exception - package cool.scx.data.query.exception
- cool.scx.data.query.parser - package cool.scx.data.query.parser
- cool.scx.data.query.serializer - package cool.scx.data.query.serializer
- count(Query) - Method in interface cool.scx.data.Dao
-
查询行数
D
- Dao<Entity,
ID> - Interface in cool.scx.data -
用于定义数据访问层的规范
- delete(Query) - Method in interface cool.scx.data.Dao
-
删除数据
- desc(String, OrderByOption...) - Method in class cool.scx.data.query.OrderByBodySet
-
倒序 : 也就是从大到小 (6,5,4,3,2,1)
- desc(String, OrderByOption...) - Static method in class cool.scx.data.QueryBuilder
-
倒序 : 也就是从大到小 (6,5,4,3,2,1)
- DESC - Enum constant in enum class cool.scx.data.query.OrderByType
-
倒序 : 也就是从大到小 (6,5,4,3,2,1)
- deserialize(JsonNode) - Method in class cool.scx.data.query.deserializer.GroupByDeserializer
- deserialize(JsonNode) - Method in class cool.scx.data.query.deserializer.LimitInfoDeserializer
- deserialize(JsonNode) - Method in class cool.scx.data.query.deserializer.OrderByDeserializer
- deserialize(JsonNode) - Method in class cool.scx.data.query.deserializer.QueryDeserializer
- deserialize(JsonNode) - Method in class cool.scx.data.query.deserializer.WhereDeserializer
- deserializeAny(JsonNode) - Method in class cool.scx.data.query.deserializer.QueryDeserializer
- deserializeGroupBy(JsonNode) - Method in class cool.scx.data.query.deserializer.GroupByDeserializer
- deserializeGroupByBody(JsonNode) - Method in class cool.scx.data.query.deserializer.GroupByDeserializer
- deserializeLimitInfo(JsonNode) - Method in class cool.scx.data.query.deserializer.LimitInfoDeserializer
- deserializeOrderBy(JsonNode) - Method in class cool.scx.data.query.deserializer.OrderByDeserializer
- deserializeOrderByBody(JsonNode) - Method in class cool.scx.data.query.deserializer.OrderByDeserializer
- deserializeOrderByBodySet(JsonNode) - Method in class cool.scx.data.query.deserializer.OrderByDeserializer
- deserializeQuery(JsonNode) - Method in class cool.scx.data.query.deserializer.QueryDeserializer
- deserializeWhere(JsonNode) - Method in class cool.scx.data.query.deserializer.WhereDeserializer
E
- entityClass() - Method in interface cool.scx.data.Dao
-
获取 类
- eq(String, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
相等
- eq(String, Object, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
相等
- EQUAL - Enum constant in enum class cool.scx.data.query.WhereType
-
等于
F
- find() - Method in interface cool.scx.data.Dao
- find(FieldFilter) - Method in interface cool.scx.data.Dao
- find(FieldFilter, Consumer<Entity>) - Method in interface cool.scx.data.Dao
- find(Query) - Method in interface cool.scx.data.Dao
- find(Query, FieldFilter) - Method in interface cool.scx.data.Dao
-
查询多条数据
- find(Query, FieldFilter, Consumer<Entity>) - Method in interface cool.scx.data.Dao
-
查询多条数据
- find(Query, Consumer<Entity>) - Method in interface cool.scx.data.Dao
- find(Consumer<Entity>) - Method in interface cool.scx.data.Dao
- fromJson(String) - Method in class cool.scx.data.query.deserializer.QueryDeserializer
G
- ge(String, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
大于等于
- ge(String, Object, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
大于等于
- get(Query) - Method in interface cool.scx.data.Dao
- get(Query, FieldFilter) - Method in interface cool.scx.data.Dao
-
查询单条数据
- getGroupBy() - Method in interface cool.scx.data.Query
- getGroupBy() - Method in interface cool.scx.data.query.QueryBridge
- getGroupBy() - Method in class cool.scx.data.query.QueryImpl
- getGroupBy() - Method in class cool.scx.data.query.QueryLike
- getLimit() - Method in interface cool.scx.data.Query
- getLimit() - Method in class cool.scx.data.query.LimitInfo
-
获取分页大小 (这里分页大小即等于行数 所以直接返回 pageSize)
- getLimit() - Method in interface cool.scx.data.query.QueryBridge
- getLimit() - Method in class cool.scx.data.query.QueryImpl
- getLimit() - Method in class cool.scx.data.query.QueryLike
- getLimitInfo() - Method in interface cool.scx.data.Query
- getLimitInfo() - Method in class cool.scx.data.query.LimitInfo
- getLimitInfo() - Method in interface cool.scx.data.query.QueryBridge
- getLimitInfo() - Method in class cool.scx.data.query.QueryImpl
- getLimitInfo() - Method in class cool.scx.data.query.QueryLike
- getLogicKeyWord(LogicType) - Method in class cool.scx.data.query.parser.WhereParser
- getOffset() - Method in interface cool.scx.data.Query
- getOffset() - Method in class cool.scx.data.query.LimitInfo
-
获取偏移量
- getOffset() - Method in interface cool.scx.data.query.QueryBridge
- getOffset() - Method in class cool.scx.data.query.QueryImpl
- getOffset() - Method in class cool.scx.data.query.QueryLike
- getOrderBy() - Method in interface cool.scx.data.Query
- getOrderBy() - Method in interface cool.scx.data.query.QueryBridge
- getOrderBy() - Method in class cool.scx.data.query.QueryImpl
- getOrderBy() - Method in class cool.scx.data.query.QueryLike
- getWhere() - Method in interface cool.scx.data.Query
- getWhere() - Method in interface cool.scx.data.query.QueryBridge
- getWhere() - Method in class cool.scx.data.query.QueryImpl
- getWhere() - Method in class cool.scx.data.query.QueryLike
- getWhereKeyWord(WhereType) - Method in class cool.scx.data.query.parser.WhereParser
- GREATER_THAN - Enum constant in enum class cool.scx.data.query.WhereType
-
大于
- GREATER_THAN_OR_EQUAL - Enum constant in enum class cool.scx.data.query.WhereType
-
大于等于
- groupBy(Object...) - Method in interface cool.scx.data.Query
- groupBy(Object...) - Method in interface cool.scx.data.query.QueryBridge
- groupBy(Object...) - Method in class cool.scx.data.query.QueryImpl
- groupBy(Object...) - Method in class cool.scx.data.query.QueryLike
- groupBy(Object...) - Static method in class cool.scx.data.QueryBuilder
- GroupBy - Class in cool.scx.data.query
-
分组
- GroupBy() - Constructor for class cool.scx.data.query.GroupBy
-
创建一个 OrderBy 对象
- GroupBy(GroupBy) - Constructor for class cool.scx.data.query.GroupBy
-
根据旧的 GroupBy 创建一个 GroupBy 对象
- GroupByBody - Class in cool.scx.data.query
-
GroupByBody class.
- GroupByBody(String, GroupByOption...) - Constructor for class cool.scx.data.query.GroupByBody
- GroupByBody(String, GroupByOption.Info) - Constructor for class cool.scx.data.query.GroupByBody
- GroupByDeserializer - Class in cool.scx.data.query.deserializer
- GroupByDeserializer() - Constructor for class cool.scx.data.query.deserializer.GroupByDeserializer
- GroupByOption - Enum Class in cool.scx.data.query
-
a
- GroupByOption.Info - Class in cool.scx.data.query
-
a
- GroupByParser - Class in cool.scx.data.query.parser
- GroupByParser() - Constructor for class cool.scx.data.query.parser.GroupByParser
- GroupBySerializer - Class in cool.scx.data.query.serializer
- GroupBySerializer() - Constructor for class cool.scx.data.query.serializer.GroupBySerializer
- gt(String, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
大于
- gt(String, Object, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
大于
I
- in(String, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
在其中
- in(String, Object, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
在其中
- IN - Enum constant in enum class cool.scx.data.query.WhereType
-
IN
- info() - Method in class cool.scx.data.query.GroupByBody
- info() - Method in class cool.scx.data.query.OrderByBody
- info() - Method in class cool.scx.data.query.WhereBody
- Info(GroupByOption...) - Constructor for class cool.scx.data.query.GroupByOption.Info
-
Constructor for GroupByOptionInfo.
- Info(OrderByOption...) - Constructor for class cool.scx.data.query.OrderByOption.Info
- IS_NOT_NULL - Enum constant in enum class cool.scx.data.query.WhereType
-
不为空
- IS_NULL - Enum constant in enum class cool.scx.data.query.WhereType
-
为空
- isEmpty() - Method in class cool.scx.data.query.Where
-
查询条件是否为空
- isEmpty() - Method in class cool.scx.data.query.WhereBodySet
-
查询条件是否为空
- isEmpty() - Method in class cool.scx.data.query.WhereClause
- isNotNull(String, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
不为空
- isNotNull(String, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
不为空
- isNull(String, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
为空
- isNull(String, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
为空
J
- JSON_CONTAINS - Enum constant in enum class cool.scx.data.query.WhereType
-
json 包含 一般用于 数组判断
- JSON_CONTAINS_INCLUDE_NULL_VALUE - Enum constant in enum class cool.scx.data.query.WhereOption
-
包含 null 值 只适用于 JSON_CONTAINS
- jsonContains(String, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
包含 : 一般用于 JSON 格式字段 区别于 in
- jsonContains(String, Object, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
包含 : 一般用于 JSON 格式字段 区别于 in
L
- le(String, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
小于等于
- le(String, Object, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
小于等于
- LESS_THAN - Enum constant in enum class cool.scx.data.query.WhereType
-
小于
- LESS_THAN_OR_EQUAL - Enum constant in enum class cool.scx.data.query.WhereType
-
小于等于
- like(String, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
like : 默认会在首尾添加 %
- like(String, Object, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
like : 默认会在首尾添加 %
- LIKE - Enum constant in enum class cool.scx.data.query.WhereType
-
Like
- LIKE_REGEX - Enum constant in enum class cool.scx.data.query.WhereType
-
Like 正则表达式
- likeRegex(String, String, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
like : 根据 SQL 表达式进行判断
- likeRegex(String, String, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
like : 根据 SQL 表达式进行判断
- limit(long) - Method in interface cool.scx.data.Query
- limit(long) - Method in class cool.scx.data.query.LimitInfo
-
setLimit
- limit(long) - Method in interface cool.scx.data.query.QueryBridge
- limit(long) - Method in class cool.scx.data.query.QueryImpl
-
设置分页参数
- limit(long) - Method in class cool.scx.data.query.QueryLike
- limit(long) - Static method in class cool.scx.data.QueryBuilder
- LimitInfo - Class in cool.scx.data.query
-
条数限制
- LimitInfo() - Constructor for class cool.scx.data.query.LimitInfo
-
创建一个 Limit 对象
- LimitInfo(LimitInfo) - Constructor for class cool.scx.data.query.LimitInfo
-
根据旧的 Limit 创建一个 Limit 对象
- LimitInfoDeserializer - Class in cool.scx.data.query.deserializer
- LimitInfoDeserializer() - Constructor for class cool.scx.data.query.deserializer.LimitInfoDeserializer
- LimitInfoSerializer - Class in cool.scx.data.query.serializer
- LimitInfoSerializer() - Constructor for class cool.scx.data.query.serializer.LimitInfoSerializer
- Logic - Interface in cool.scx.data.query
- logicType() - Method in class cool.scx.data.query.AND
- logicType() - Method in interface cool.scx.data.query.Logic
- logicType() - Method in class cool.scx.data.query.OR
- logicType() - Method in class cool.scx.data.query.WhereBodySet
- LogicType - Enum Class in cool.scx.data.query
- lt(String, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
小于
- lt(String, Object, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
小于
N
- name() - Method in class cool.scx.data.query.GroupByBody
- name() - Method in class cool.scx.data.query.OrderByBody
- name() - Method in class cool.scx.data.query.WhereBody
- ne(String, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
不相等
- ne(String, Object, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
不相等
- NOT_BETWEEN - Enum constant in enum class cool.scx.data.query.WhereType
-
不在之间
- NOT_EQUAL - Enum constant in enum class cool.scx.data.query.WhereType
-
不等于
- NOT_IN - Enum constant in enum class cool.scx.data.query.WhereType
-
NOT IN
- NOT_LIKE - Enum constant in enum class cool.scx.data.query.WhereType
-
Not Like
- NOT_LIKE_REGEX - Enum constant in enum class cool.scx.data.query.WhereType
-
Like 正则表达式
- notBetween(String, Object, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
不处于两者之间
- notBetween(String, Object, Object, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
不处于两者之间
- notIn(String, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
不在其中
- notIn(String, Object, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
不在其中
- notLike(String, Object, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
not like : 默认会在首尾添加 %
- notLike(String, Object, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
not like : 默认会在首尾添加 %
- notLikeRegex(String, String, WhereOption...) - Method in class cool.scx.data.query.WhereBodySet
-
not like : 根据 SQL 表达式进行判断
- notLikeRegex(String, String, WhereOption...) - Static method in class cool.scx.data.QueryBuilder
-
not like : 根据 SQL 表达式进行判断
O
- of(String) - Static method in enum class cool.scx.data.query.OrderByType
-
a
- of(String) - Static method in enum class cool.scx.data.query.WhereType
-
a
- offset(long) - Method in class cool.scx.data.query.LimitInfo
-
setOffset
- offset(long) - Method in interface cool.scx.data.Query
- offset(long) - Method in interface cool.scx.data.query.QueryBridge
- offset(long) - Method in class cool.scx.data.query.QueryImpl
- offset(long) - Method in class cool.scx.data.query.QueryLike
- offset(long) - Static method in class cool.scx.data.QueryBuilder
- or(Object...) - Static method in class cool.scx.data.QueryBuilder
- OR - Class in cool.scx.data.query
- OR - Enum constant in enum class cool.scx.data.query.LogicType
- OR(Object...) - Constructor for class cool.scx.data.query.OR
- orderBy(Object...) - Method in interface cool.scx.data.Query
- orderBy(Object...) - Method in interface cool.scx.data.query.QueryBridge
- orderBy(Object...) - Method in class cool.scx.data.query.QueryImpl
- orderBy(Object...) - Method in class cool.scx.data.query.QueryLike
- orderBy(Object...) - Static method in class cool.scx.data.QueryBuilder
- OrderBy - Class in cool.scx.data.query
-
排序
- OrderBy() - Constructor for class cool.scx.data.query.OrderBy
-
创建一个 OrderBy 对象
- OrderBy(OrderBy) - Constructor for class cool.scx.data.query.OrderBy
-
根据旧的 OrderBy 创建一个 OrderBy 对象
- OrderByBody - Class in cool.scx.data.query
-
OrderBy 封装体
- OrderByBody(String, OrderByType, OrderByOption...) - Constructor for class cool.scx.data.query.OrderByBody
-
添加一个排序字段
- OrderByBody(String, OrderByType, OrderByOption.Info) - Constructor for class cool.scx.data.query.OrderByBody
- OrderByBodySet - Class in cool.scx.data.query
-
排序
- OrderByBodySet() - Constructor for class cool.scx.data.query.OrderByBodySet
-
创建一个 OrderBy 对象
- OrderByDeserializer - Class in cool.scx.data.query.deserializer
- OrderByDeserializer() - Constructor for class cool.scx.data.query.deserializer.OrderByDeserializer
- OrderByOption - Enum Class in cool.scx.data.query
-
a
- OrderByOption.Info - Class in cool.scx.data.query
-
a
- OrderByParser - Class in cool.scx.data.query.parser
- OrderByParser() - Constructor for class cool.scx.data.query.parser.OrderByParser
- OrderBySerializer - Class in cool.scx.data.query.serializer
- OrderBySerializer() - Constructor for class cool.scx.data.query.serializer.OrderBySerializer
- orderBySet() - Static method in class cool.scx.data.QueryBuilder
- orderByType() - Method in class cool.scx.data.query.OrderByBody
- OrderByType - Enum Class in cool.scx.data.query
-
排序类型
- orSet() - Static method in class cool.scx.data.QueryBuilder
P
- params() - Method in class cool.scx.data.query.WhereClause
- paramSize() - Method in enum class cool.scx.data.query.WhereType
-
获取参数数量
- parse(Object) - Method in class cool.scx.data.query.parser.GroupByParser
- parse(Object) - Method in class cool.scx.data.query.parser.OrderByParser
- parse(Object) - Method in class cool.scx.data.query.parser.WhereParser
- parseAll(Object[]) - Method in class cool.scx.data.query.parser.GroupByParser
- parseAll(Object[]) - Method in class cool.scx.data.query.parser.OrderByParser
- parseAll(Object[]) - Method in class cool.scx.data.query.parser.WhereParser
- parseBetween(String, WhereType, Object, Object, WhereOption.Info) - Method in class cool.scx.data.query.parser.WhereParser
- parseEqual(String, WhereType, Object, Object, WhereOption.Info) - Method in class cool.scx.data.query.parser.WhereParser
- parseGroupBy(GroupBy) - Method in class cool.scx.data.query.parser.GroupByParser
- parseGroupByBody(GroupByBody) - Method in class cool.scx.data.query.parser.GroupByParser
- parseIn(String, WhereType, Object, Object, WhereOption.Info) - Method in class cool.scx.data.query.parser.WhereParser
- parseIsNull(String, WhereType, Object, Object, WhereOption.Info) - Method in class cool.scx.data.query.parser.WhereParser
- parseJsonContains(String, WhereType, Object, Object, WhereOption.Info) - Method in class cool.scx.data.query.parser.WhereParser
- parseLike(String, WhereType, Object, Object, WhereOption.Info) - Method in class cool.scx.data.query.parser.WhereParser
- parseLogic(Logic) - Method in class cool.scx.data.query.parser.WhereParser
- parseOrderBy(OrderBy) - Method in class cool.scx.data.query.parser.OrderByParser
- parseOrderByBody(OrderByBody) - Method in class cool.scx.data.query.parser.OrderByParser
- parseString(String) - Method in class cool.scx.data.query.parser.WhereParser
- parseWhere(Where) - Method in class cool.scx.data.query.parser.WhereParser
- parseWhereBody(WhereBody) - Method in class cool.scx.data.query.parser.WhereParser
Q
- query() - Static method in class cool.scx.data.QueryBuilder
- query(Query) - Static method in class cool.scx.data.QueryBuilder
- Query - Interface in cool.scx.data
- QUERY_DESERIALIZER - Static variable in class cool.scx.data.query.deserializer.QueryDeserializer
- QUERY_SERIALIZER - Static variable in class cool.scx.data.query.serializer.QuerySerializer
- QueryBridge - Interface in cool.scx.data.query
- QueryBuilder - Class in cool.scx.data
- QueryBuilder() - Constructor for class cool.scx.data.QueryBuilder
- QueryDeserializer - Class in cool.scx.data.query.deserializer
- QueryDeserializer() - Constructor for class cool.scx.data.query.deserializer.QueryDeserializer
- QueryImpl - Class in cool.scx.data.query
-
查询参数类
针对 GroupBy , OrderBy , Limit , Where 等进行的简单封装
同时附带一些简单的参数校验
只是 为了方便传递参数使用 - QueryImpl() - Constructor for class cool.scx.data.query.QueryImpl
-
创建 Query 对象
- QueryImpl(Query) - Constructor for class cool.scx.data.query.QueryImpl
- QueryImpl(GroupBy) - Constructor for class cool.scx.data.query.QueryImpl
- QueryImpl(LimitInfo) - Constructor for class cool.scx.data.query.QueryImpl
- QueryImpl(OrderBy) - Constructor for class cool.scx.data.query.QueryImpl
- QueryImpl(Where) - Constructor for class cool.scx.data.query.QueryImpl
- QueryImpl(Where, GroupBy, OrderBy, LimitInfo) - Constructor for class cool.scx.data.query.QueryImpl
- QueryLike<QL> - Class in cool.scx.data.query
- QueryLike() - Constructor for class cool.scx.data.query.QueryLike
- QuerySerializer - Class in cool.scx.data.query.serializer
- QuerySerializer() - Constructor for class cool.scx.data.query.serializer.QuerySerializer
R
- remove(String) - Method in class cool.scx.data.query.OrderByBodySet
-
a
- remove(String) - Method in class cool.scx.data.query.WhereBodySet
-
a
- replace() - Method in class cool.scx.data.query.OrderByOption.Info
- REPLACE - Enum constant in enum class cool.scx.data.query.OrderByOption
-
替换现有同名字段
- REPLACE - Enum constant in enum class cool.scx.data.query.WhereOption
-
替换同名的 where 参数
S
- serialize(Object) - Method in class cool.scx.data.query.serializer.GroupBySerializer
- serialize(Object) - Method in class cool.scx.data.query.serializer.LimitInfoSerializer
- serialize(Object) - Method in class cool.scx.data.query.serializer.OrderBySerializer
- serialize(Object) - Method in class cool.scx.data.query.serializer.QuerySerializer
- serialize(Object) - Method in class cool.scx.data.query.serializer.WhereSerializer
- serializeAll(Object[]) - Method in class cool.scx.data.query.serializer.GroupBySerializer
- serializeAll(Object[]) - Method in class cool.scx.data.query.serializer.OrderBySerializer
- serializeAll(Object[]) - Method in class cool.scx.data.query.serializer.WhereSerializer
- serializeAny(Object) - Method in class cool.scx.data.query.serializer.QuerySerializer
- serializeGroupBy(GroupBy) - Method in class cool.scx.data.query.serializer.GroupBySerializer
- serializeGroupByBody(GroupByBody) - Method in class cool.scx.data.query.serializer.GroupBySerializer
- serializeLimitInfo(LimitInfo) - Method in class cool.scx.data.query.serializer.LimitInfoSerializer
- serializeLogic(Logic) - Method in class cool.scx.data.query.serializer.WhereSerializer
- serializeOrderBy(OrderBy) - Method in class cool.scx.data.query.serializer.OrderBySerializer
- serializeOrderByBody(OrderByBody) - Method in class cool.scx.data.query.serializer.OrderBySerializer
- serializeOrderByBodySet(OrderByBodySet) - Method in class cool.scx.data.query.serializer.OrderBySerializer
- serializeQueryImpl(Query) - Method in class cool.scx.data.query.serializer.QuerySerializer
- serializeString(String) - Method in class cool.scx.data.query.serializer.GroupBySerializer
- serializeString(String) - Method in class cool.scx.data.query.serializer.OrderBySerializer
- serializeString(String) - Method in class cool.scx.data.query.serializer.WhereSerializer
- serializeWhere(Where) - Method in class cool.scx.data.query.serializer.WhereSerializer
- serializeWhereClause(WhereClause) - Method in class cool.scx.data.query.serializer.WhereSerializer
- set(Object...) - Method in class cool.scx.data.query.GroupBy
-
set
- set(Object...) - Method in class cool.scx.data.query.OrderBy
-
set
- set(Object...) - Method in class cool.scx.data.query.Where
-
设置 whereSQL 适用于 复杂查询的自定义 where 子句
支持三种类型 String , WhereBody 和 AbstractPlaceholderSQL 在最终 cool.scx.sql 中会拼接到 where 子句的最后
注意 : 除特殊语法外不需要手动在头部添加 AND - SKIP_IF_EMPTY_LIST - Enum constant in enum class cool.scx.data.query.WhereOption
-
在 in 或 not in 中 如果有效的参数条目 (指去除 null 后的) 为空 则跳过添加而不是报错
和WhereOption.SKIP_IF_NULL相同 是为了简化书写 其实际意义为参数中去除非法数值(为 null)后的列表长度是否为 0 - SKIP_IF_NULL - Enum constant in enum class cool.scx.data.query.WhereOption
-
如果查询的参数值为 null 则跳过添加而不是报错
这里虽然叫做 SKIP_IF_NULL 但实际上表示的有效参数数量是不是和所接受的参数数量一致
只是为了简化书写
T
- toJson(Query) - Method in class cool.scx.data.query.serializer.QuerySerializer
- toQuery() - Method in class cool.scx.data.query.AND
- toQuery() - Method in class cool.scx.data.query.GroupBy
- toQuery() - Method in class cool.scx.data.query.GroupByBody
- toQuery() - Method in class cool.scx.data.query.LimitInfo
- toQuery() - Method in class cool.scx.data.query.OR
- toQuery() - Method in class cool.scx.data.query.OrderBy
- toQuery() - Method in class cool.scx.data.query.OrderByBody
- toQuery() - Method in class cool.scx.data.query.OrderByBodySet
- toQuery() - Method in class cool.scx.data.query.QueryLike
- toQuery() - Method in class cool.scx.data.query.Where
- toQuery() - Method in class cool.scx.data.query.WhereBody
- toQuery() - Method in class cool.scx.data.query.WhereBodySet
- toQuery() - Method in class cool.scx.data.query.WhereClause
U
- update(Entity, Query) - Method in interface cool.scx.data.Dao
- update(Entity, Query, FieldFilter) - Method in interface cool.scx.data.Dao
-
更新数据
- USE_JSON_EXTRACT - Enum constant in enum class cool.scx.data.query.GroupByOption
-
使用 json 表达式
- USE_JSON_EXTRACT - Enum constant in enum class cool.scx.data.query.OrderByOption
-
使用 json 查询
- USE_JSON_EXTRACT - Enum constant in enum class cool.scx.data.query.WhereOption
- USE_ORIGINAL_NAME - Enum constant in enum class cool.scx.data.query.GroupByOption
-
使用原始名称
- USE_ORIGINAL_NAME - Enum constant in enum class cool.scx.data.query.OrderByOption
-
使用原始名称
- USE_ORIGINAL_NAME - Enum constant in enum class cool.scx.data.query.WhereOption
-
使用原始名称 (不进行转换)
- USE_ORIGINAL_VALUE - Enum constant in enum class cool.scx.data.query.WhereOption
-
注意只适用于 JSON_CONTAINS JSON_CONTAINS 默认会将值转换为 JSON 并去除为 value 为 null 的 字段 使用 原始值 时会将值 直接传递到 SQL 语句 若值为 实体类 则会转换为 JSON 不过 和默认情况相比, 转换的 JSON 会包含 value 为 null 的字段
- useJsonExtract() - Method in class cool.scx.data.query.GroupByOption.Info
-
useJsonExtract.
- useJsonExtract() - Method in class cool.scx.data.query.OrderByOption.Info
- useJsonExtract() - Method in class cool.scx.data.query.WhereOption.Info
-
a
- useOriginalName() - Method in class cool.scx.data.query.GroupByOption.Info
-
useOriginalName.
- useOriginalName() - Method in class cool.scx.data.query.OrderByOption.Info
- useOriginalName() - Method in class cool.scx.data.query.WhereOption.Info
-
a
- useOriginalValue() - Method in class cool.scx.data.query.WhereOption.Info
V
- ValidParamListIsEmptyException - Exception Class in cool.scx.data.query.exception
-
当 whereType 为 in 或 not in 时 有效的参数条目 (指去除 null 后的) 为空
- ValidParamListIsEmptyException(WhereType) - Constructor for exception class cool.scx.data.query.exception.ValidParamListIsEmptyException
- value1() - Method in class cool.scx.data.query.WhereBody
- value2() - Method in class cool.scx.data.query.WhereBody
- valueOf(String) - Static method in enum class cool.scx.data.query.GroupByOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.data.query.LogicType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.data.query.OrderByOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.data.query.OrderByType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.data.query.WhereOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.data.query.WhereType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cool.scx.data.query.GroupByOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.data.query.LogicType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.data.query.OrderByOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.data.query.OrderByType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.data.query.WhereOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.data.query.WhereType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- where(Object...) - Method in interface cool.scx.data.query.QueryBridge
- where(Object...) - Method in class cool.scx.data.query.QueryImpl
- where(Object...) - Method in class cool.scx.data.query.QueryLike
- where(Object...) - Method in interface cool.scx.data.Query
- where(Object...) - Static method in class cool.scx.data.QueryBuilder
- Where - Class in cool.scx.data.query
-
where 查询条件封装类
- Where() - Constructor for class cool.scx.data.query.Where
-
创建一个 Where 对象
- Where(Where) - Constructor for class cool.scx.data.query.Where
-
根据旧的 Where 创建一个 Where 对象
- WhereBody - Class in cool.scx.data.query
-
where 封装体
- WhereBody(String, WhereType, Object, Object, WhereOption...) - Constructor for class cool.scx.data.query.WhereBody
- WhereBody(String, WhereType, Object, Object, WhereOption.Info) - Constructor for class cool.scx.data.query.WhereBody
- WhereBodySet - Class in cool.scx.data.query
-
where 查询条件封装类
- WhereBodySet(LogicType) - Constructor for class cool.scx.data.query.WhereBodySet
-
创建一个 Where 对象
- whereClause() - Method in class cool.scx.data.query.WhereClause
- whereClause(String, Object...) - Static method in class cool.scx.data.QueryBuilder
- WhereClause - Class in cool.scx.data.query
- WhereClause(String, Object...) - Constructor for class cool.scx.data.query.WhereClause
- WhereDeserializer - Class in cool.scx.data.query.deserializer
- WhereDeserializer() - Constructor for class cool.scx.data.query.deserializer.WhereDeserializer
- WhereOption - Enum Class in cool.scx.data.query
-
a
- WhereOption.Info - Class in cool.scx.data.query
-
a
- WhereParser - Class in cool.scx.data.query.parser
- WhereParser() - Constructor for class cool.scx.data.query.parser.WhereParser
- WhereSerializer - Class in cool.scx.data.query.serializer
- WhereSerializer() - Constructor for class cool.scx.data.query.serializer.WhereSerializer
- whereType() - Method in class cool.scx.data.query.WhereBody
- WhereType - Enum Class in cool.scx.data.query
-
WhereType
where 查询条件的一些类型 如果无法满足要求请使用 whereSQL - WrongWhereTypeParamSizeException - Exception Class in cool.scx.data.query.exception
-
错误的 WhereBody 参数长度异常
- WrongWhereTypeParamSizeException(WhereType) - Constructor for exception class cool.scx.data.query.exception.WrongWhereTypeParamSizeException
All Classes and Interfaces|All Packages|Serialized Form