索引

A B C D E F G H I J K L M N O P Q R S T U V W _ 
All Classes and Interfaces|所有程序包|序列化表格

A

add(String, GroupByOption...) - 类中的方法 cool.scx.dao.group_by.GroupBy
添加一个 分组字段
add(String, OrderByType, OrderByOption...) - 类中的方法 cool.scx.dao.order_by.OrderBy
添加一个排序字段
add0(String, WhereType, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
添加一个查询条件 (注意 : 此处添加的所有条件都会以 and 拼接 , 如需使用 or 请考虑使用 Where.whereSQL(Object...) })
add1(String, WhereType, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
添加一个查询条件 (注意 : 此处添加的所有条件都会以 and 拼接 , 如需使用 or 请考虑使用 Where.whereSQL(Object...) })
add2(String, WhereType, Object, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
添加一个查询条件 (注意 : 此处添加的所有条件都会以 and 拼接 , 如需使用 or 请考虑使用 Where.whereSQL(Object...) })
addExcluded(String...) - 类中的方法 cool.scx.dao.ColumnInfoFilter
添加 黑名单
addGroupBy(String, GroupByOption...) - 类中的方法 cool.scx.dao.Query
添加一个 分组字段
addIncluded(String...) - 类中的方法 cool.scx.dao.ColumnInfoFilter
添加 白名单
addOrderBy(String, OrderByType, OrderByOption...) - 类中的方法 cool.scx.dao.Query
添加一个排序字段
AnnotationConfigColumnInfo - cool.scx.dao.impl中的类
通过注解配置的 column
AnnotationConfigColumnInfo(Field) - 类的构造器 cool.scx.dao.impl.AnnotationConfigColumnInfo
a
AnnotationConfigTableInfo - cool.scx.dao.impl中的类
通过注解配置的 TableInfo
AnnotationConfigTableInfo(Class<?>) - 类的构造器 cool.scx.dao.impl.AnnotationConfigTableInfo
c
asc(String, OrderByOption...) - 类中的方法 cool.scx.dao.order_by.OrderBy
正序 : 也就是从小到大 (1,2,3,4,5,6)
asc(String, OrderByOption...) - 类中的方法 cool.scx.dao.Query
正序 : 也就是从小到大 (1,2,3,4,5,6)
ASC - enum class 中的枚举常量 cool.scx.dao.order_by.OrderByType
正序 : 也就是从小到大 (1,2,3,4,5,6)
autoIncrement() - annotation interface 中的元素 cool.scx.dao.annotation.Column
此字段是否为自增 仅用于 创建或修复表时
autoIncrement() - 类中的方法 cool.scx.dao.impl.AnnotationConfigColumnInfo
 
autoIncrement() - 类中的方法 cool.scx.dao.impl.MySQLXDaoColumnInfo
 

B

BaseDao<Entity,ID> - cool.scx.dao中的接口
最基本的 可以实现 实体类 CRUD 的 DAO
between(String, Object, Object, WhereOption...) - 类中的方法 cool.scx.dao.Query
两者之间
between(String, Object, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
两者之间
between(String, Object, Object, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
两者之间
BETWEEN - enum class 中的枚举常量 cool.scx.dao.where.WhereType
在之间
buildSelectSQL(Query, SelectFilter) - 类中的方法 cool.scx.dao.impl.MySQLDao
构建 (根据聚合查询条件 Query 获取数据列表) 的SQL
可用于另一条查询语句的 where 条件 用法
buildSelectSQL(Query, SelectFilter) - 类中的方法 cool.scx.dao.impl.OldMySQLDao
已过时。
构建 (根据聚合查询条件 Query 获取数据列表) 的SQL
可用于另一条查询语句的 where 条件 用法
buildSelectSQLWithAlias(Query, SelectFilter) - 类中的方法 cool.scx.dao.impl.MySQLDao
在 mysql 中 不支持 in 子句中包含 limit 但是我们可以使用 一个嵌套的别名表来跳过检查 此方法便是用于生成嵌套的 sql 的
buildSelectSQLWithAlias(Query, SelectFilter) - 类中的方法 cool.scx.dao.impl.OldMySQLDao
已过时。
在 mysql 中 不支持 in 子句中包含 limit 但是我们可以使用 一个嵌套的别名表来跳过检查 此方法便是用于生成嵌套的 sql 的

C

clear() - 类中的方法 cool.scx.dao.ColumnInfoFilter
清除所有 包含类型的列
clear() - 类中的方法 cool.scx.dao.group_by.GroupBy
a
clear() - 类中的方法 cool.scx.dao.order_by.OrderBy
a
clear() - 类中的方法 cool.scx.dao.pagination.Pagination
a
clear() - 类中的方法 cool.scx.dao.where.Where
清除所有 where 条件 (不包括 whereSQL)
clearAll() - 类中的方法 cool.scx.dao.where.Where
清除所有 where 条件 (包括 whereSQL)
clearGroupBy() - 类中的方法 cool.scx.dao.Query
a
clearOrderBy() - 类中的方法 cool.scx.dao.Query
a
clearPagination() - 类中的方法 cool.scx.dao.Query
a
clearWhere() - 类中的方法 cool.scx.dao.Query
清除所有 where 条件 (不包括 whereSQL)
clearWhereAll() - 类中的方法 cool.scx.dao.Query
清除所有 where 条件 (包括 whereSQL)
clearWhereSQL() - 类中的方法 cool.scx.dao.Query
清楚 where 条件中的 whereSQL
clearWhereSQL() - 类中的方法 cool.scx.dao.where.Where
清楚 where 条件中的 whereSQL
Column - cool.scx.dao.annotation中的Annotation Interface
添加此注解的 字段 在创建数据表是会采用 value 上的类型 如果不添加 则会根据 字段的类型进行创建
ColumnInfoFilter<E extends ColumnInfoFilter<E>> - cool.scx.dao中的类
a
ColumnInfoFilter(ColumnInfoFilter.FilterMode) - 类的构造器 cool.scx.dao.ColumnInfoFilter
a
ColumnInfoFilter.FilterMode - cool.scx.dao中的Enum Class
过滤模式
columnInfos() - 类中的方法 cool.scx.dao.impl.AnnotationConfigTableInfo
 
columnInfos() - 类中的方法 cool.scx.dao.impl.MySQLXDaoTableInfo
 
columnInfos() - 类中的方法 cool.scx.dao.impl.OldMySQLTableInfo
已过时。
 
columnName() - annotation interface 中的元素 cool.scx.dao.annotation.Column
列的名称 默认取字段名并进行 驼峰 转下划线
columnName() - record class中的方法 cool.scx.dao.ColumnNameParser.ColumnNameAndFieldPath
返回 columnName 记录组件的值。
columnName() - 类中的方法 cool.scx.dao.impl.AnnotationConfigColumnInfo
 
columnName() - 类中的方法 cool.scx.dao.impl.MySQLXDaoColumnInfo
 
ColumnNameAndFieldPath(String, String) - record class的构造器 cool.scx.dao.ColumnNameParser.ColumnNameAndFieldPath
创建 ColumnNameAndFieldPath 记录的实例。
ColumnNameParser - cool.scx.dao中的类
 
ColumnNameParser() - 类的构造器 cool.scx.dao.ColumnNameParser
 
ColumnNameParser.ColumnNameAndFieldPath - cool.scx.dao中的Record Class
 
cool.scx.dao - 程序包 cool.scx.dao
 
cool.scx.dao.annotation - 程序包 cool.scx.dao.annotation
 
cool.scx.dao.group_by - 程序包 cool.scx.dao.group_by
 
cool.scx.dao.impl - 程序包 cool.scx.dao.impl
 
cool.scx.dao.order_by - 程序包 cool.scx.dao.order_by
 
cool.scx.dao.pagination - 程序包 cool.scx.dao.pagination
 
cool.scx.dao.where - 程序包 cool.scx.dao.where
 
cool.scx.dao.where.exception - 程序包 cool.scx.dao.where.exception
 
count(Query) - 接口中的方法 cool.scx.dao.BaseDao
查询行数
count(Query) - 类中的方法 cool.scx.dao.impl.MySQLDao
获取条数
count(Query) - 类中的方法 cool.scx.dao.impl.MySQLXDao
 
count(Query) - 类中的方法 cool.scx.dao.impl.OldMySQLDao
已过时。
获取条数
countResultHandler - 类中的变量 cool.scx.dao.impl.MySQLDao
查询 count 所用的 handler
countResultHandler - 类中的变量 cool.scx.dao.impl.OldMySQLDao
已过时。
查询 count 所用的 handler

D

defaultValue() - annotation interface 中的元素 cool.scx.dao.annotation.Column
数据库默认值 仅用于 创建或修复表时
defaultValue() - 类中的方法 cool.scx.dao.impl.AnnotationConfigColumnInfo
 
defaultValue() - 类中的方法 cool.scx.dao.impl.MySQLXDaoColumnInfo
 
delete(Query) - 接口中的方法 cool.scx.dao.BaseDao
删除
delete(Query) - 类中的方法 cool.scx.dao.impl.MySQLDao
删除数据
delete(Query) - 类中的方法 cool.scx.dao.impl.MySQLXDao
 
delete(Query) - 类中的方法 cool.scx.dao.impl.OldMySQLDao
已过时。
删除数据
desc(String, OrderByOption...) - 类中的方法 cool.scx.dao.order_by.OrderBy
倒序 : 也就是从大到小 (6,5,4,3,2,1)
desc(String, OrderByOption...) - 类中的方法 cool.scx.dao.Query
倒序 : 也就是从大到小 (6,5,4,3,2,1)
DESC - enum class 中的枚举常量 cool.scx.dao.order_by.OrderByType
倒序 : 也就是从大到小 (6,5,4,3,2,1)

E

entityBeanListHandler - 类中的变量 cool.scx.dao.impl.MySQLDao
实体类对应的 BeanListHandler
entityBeanListHandler - 类中的变量 cool.scx.dao.impl.OldMySQLDao
已过时。
实体类对应的 BeanListHandler
entityClass - 类中的变量 cool.scx.dao.impl.MySQLDao
实体类 class 用于泛型转换
entityClass - 类中的变量 cool.scx.dao.impl.OldMySQLDao
已过时。
实体类 class 用于泛型转换
equal(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.Query
相等
equal(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
相等
equal(String, Object, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
相等
EQUAL - enum class 中的枚举常量 cool.scx.dao.where.WhereType
等于
equals(Object) - record class中的方法 cool.scx.dao.ColumnNameParser.ColumnNameAndFieldPath
指示某个其他对象是否“等于”此对象。
equals(Object) - record class中的方法 cool.scx.dao.where.WhereBody
指示某个其他对象是否“等于”此对象。
equals(Object) - record class中的方法 cool.scx.dao.where.WhereParamsAndWhereClauses
指示某个其他对象是否“等于”此对象。
EXCLUDED - enum class 中的枚举常量 cool.scx.dao.ColumnInfoFilter.FilterMode
排除模式

F

fieldPath() - record class中的方法 cool.scx.dao.ColumnNameParser.ColumnNameAndFieldPath
返回 fieldPath 记录组件的值。
filter(ColumnInfo...) - 类中的方法 cool.scx.dao.ColumnInfoFilter
已过时。
filter(TableInfo<?>) - 类中的方法 cool.scx.dao.ColumnInfoFilter
过滤
filter(Object, ColumnInfo...) - 类中的方法 cool.scx.dao.UpdateFilter
已过时。
filter(Object, TableInfo<?>) - 类中的方法 cool.scx.dao.UpdateFilter
过滤
filterMode() - 类中的方法 cool.scx.dao.ColumnInfoFilter
获取当前模式

G

getColumnInfo(String) - 类中的方法 cool.scx.dao.impl.AnnotationConfigTableInfo
 
getColumnInfo(String) - 类中的方法 cool.scx.dao.impl.MySQLXDaoTableInfo
 
getColumnInfo(String) - 类中的方法 cool.scx.dao.impl.OldMySQLTableInfo
已过时。
 
getGroupByColumns(TableInfo<?>) - 类中的方法 cool.scx.dao.group_by.GroupBy
getGroupByColumns.
getOrderByClauses(TableInfo<?>) - 类中的方法 cool.scx.dao.order_by.OrderBy
getOrderByClauses.
getWhereParamsAndWhereClause(TableInfo<?>) - record class中的方法 cool.scx.dao.where.WhereBody
 
getWhereParamsAndWhereClauses(TableInfo<?>) - 类中的方法 cool.scx.dao.where.Where
 
GREATER_THAN - enum class 中的枚举常量 cool.scx.dao.where.WhereType
大于
GREATER_THAN_OR_EQUAL - enum class 中的枚举常量 cool.scx.dao.where.WhereType
大于等于
greaterThan(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.Query
大于
greaterThan(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
大于
greaterThan(String, Object, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
大于
greaterThanOrEqual(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.Query
大于等于
greaterThanOrEqual(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
大于等于
greaterThanOrEqual(String, Object, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
大于等于
groupBy() - 类中的方法 cool.scx.dao.Query
groupBy.
GroupBy - cool.scx.dao.group_by中的类
分组
GroupBy() - 类的构造器 cool.scx.dao.group_by.GroupBy
创建一个 OrderBy 对象
GroupBy(GroupBy) - 类的构造器 cool.scx.dao.group_by.GroupBy
根据旧的 GroupBy 创建一个 GroupBy 对象
GroupByOption - cool.scx.dao.group_by中的Enum Class
a

H

hashCode() - record class中的方法 cool.scx.dao.ColumnNameParser.ColumnNameAndFieldPath
返回此对象的哈希代码值。
hashCode() - record class中的方法 cool.scx.dao.where.WhereBody
返回此对象的哈希代码值。
hashCode() - record class中的方法 cool.scx.dao.where.WhereParamsAndWhereClauses
返回此对象的哈希代码值。

I

in(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.Query
在其中
in(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
在其中
in(String, Object, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
在其中
IN - enum class 中的枚举常量 cool.scx.dao.where.WhereType
IN
INCLUDED - enum class 中的枚举常量 cool.scx.dao.ColumnInfoFilter.FilterMode
包含模式
info() - record class中的方法 cool.scx.dao.where.WhereBody
返回 info 记录组件的值。
insert(Entity, UpdateFilter) - 接口中的方法 cool.scx.dao.BaseDao
插入
insert(Entity, UpdateFilter) - 类中的方法 cool.scx.dao.impl.MySQLDao
保存单条数据
insert(Entity, UpdateFilter) - 类中的方法 cool.scx.dao.impl.MySQLXDao
 
insert(Entity, UpdateFilter) - 类中的方法 cool.scx.dao.impl.OldMySQLDao
已过时。
保存单条数据
insertBatch(Collection<Entity>, UpdateFilter) - 接口中的方法 cool.scx.dao.BaseDao
批量插入
insertBatch(Collection<Entity>, UpdateFilter) - 类中的方法 cool.scx.dao.impl.MySQLDao
保存多条数据
insertBatch(Collection<Entity>, UpdateFilter) - 类中的方法 cool.scx.dao.impl.MySQLXDao
 
insertBatch(Collection<Entity>, UpdateFilter) - 类中的方法 cool.scx.dao.impl.OldMySQLDao
已过时。
保存多条数据
insertValuesSQL() - 类中的方法 cool.scx.dao.impl.OldMySQLDaoColumnInfo
已过时。
插入时 的 sql 片段 强烈建议提前生成好!!!
IS_NOT_NULL - enum class 中的枚举常量 cool.scx.dao.where.WhereType
不为空
IS_NULL - enum class 中的枚举常量 cool.scx.dao.where.WhereType
为空
isEmpty() - 类中的方法 cool.scx.dao.where.Where
查询条件是否为空
isNotNull(String, WhereOption...) - 类中的方法 cool.scx.dao.Query
不为空
isNotNull(String, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
不为空
isNotNull(String, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
不为空
isNull(String, WhereOption...) - 类中的方法 cool.scx.dao.Query
为空
isNull(String, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
为空
isNull(String, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
为空

J

javaField() - 类中的方法 cool.scx.dao.impl.AnnotationConfigColumnInfo
 
javaField() - 类中的方法 cool.scx.dao.impl.MySQLXDaoColumnInfo
 
JSON_CONTAINS - enum class 中的枚举常量 cool.scx.dao.where.WhereType
json 包含 一般用于 数组判断
JSON_CONTAINS_INCLUDE_NULL_VALUE - enum class 中的枚举常量 cool.scx.dao.where.WhereOption
包含 null 值 只适用于 JSON_CONTAINS
jsonContains(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.Query
包含 : 一般用于 JSON 格式字段 区别于 in
jsonContains(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
包含 : 一般用于 JSON 格式字段 区别于 in
jsonContains(String, Object, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
包含 : 一般用于 JSON 格式字段 区别于 in

K

keyWord() - enum class中的方法 cool.scx.dao.where.WhereType
获取关键词

L

LESS_THAN - enum class 中的枚举常量 cool.scx.dao.where.WhereType
小于
LESS_THAN_OR_EQUAL - enum class 中的枚举常量 cool.scx.dao.where.WhereType
小于等于
lessThan(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.Query
小于
lessThan(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
小于
lessThan(String, Object, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
小于
lessThanOrEqual(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.Query
小于等于
lessThanOrEqual(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
小于等于
lessThanOrEqual(String, Object, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
小于等于
like(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.Query
like : 默认会在首尾添加 %
like(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
like : 默认会在首尾添加 %
like(String, Object, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
like : 默认会在首尾添加 %
LIKE - enum class 中的枚举常量 cool.scx.dao.where.WhereType
Like
LIKE_REGEX - enum class 中的枚举常量 cool.scx.dao.where.WhereType
Like 正则表达式
likeRegex(String, String, WhereOption...) - 类中的方法 cool.scx.dao.Query
like : 根据 SQL 表达式进行判断
likeRegex(String, String, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
like : 根据 SQL 表达式进行判断
likeRegex(String, String, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
like : 根据 SQL 表达式进行判断

M

MySQLDao<Entity> - cool.scx.dao.impl中的类
最基本的 可以实现 实体类 CRUD 的 DAO
MySQLDao(TableInfo<?>, Class<Entity>, SQLRunner) - 类的构造器 cool.scx.dao.impl.MySQLDao
a
MySQLXDao<Entity> - cool.scx.dao.impl中的类
 
MySQLXDao(String, Class<Entity>, Session) - 类的构造器 cool.scx.dao.impl.MySQLXDao
 
MySQLXDaoColumnInfo - cool.scx.dao.impl中的类
通过注解配置的 column
MySQLXDaoColumnInfo(Field) - 类的构造器 cool.scx.dao.impl.MySQLXDaoColumnInfo
a
MySQLXDaoTableInfo - cool.scx.dao.impl中的类
通过注解配置的 TableInfo
MySQLXDaoTableInfo(Class<?>) - 类的构造器 cool.scx.dao.impl.MySQLXDaoTableInfo
c

N

name() - record class中的方法 cool.scx.dao.where.WhereBody
返回 name 记录组件的值。
needIndex() - annotation interface 中的元素 cool.scx.dao.annotation.Column
是否需要添加索引 仅用于 创建或修复表时
needIndex() - 类中的方法 cool.scx.dao.impl.AnnotationConfigColumnInfo
 
needIndex() - 类中的方法 cool.scx.dao.impl.MySQLXDaoColumnInfo
 
NoColumn - cool.scx.dao.annotation中的Annotation Interface
数据库对象 不映射 注解 添加此注解的 字段 会在转换为数据库字段时被忽略掉 如果只是想在添加或者修改时不进行映射 请考虑使用 Column注解 的 noInsert 和 noUpdate 属性进行配置
NOT_BETWEEN - enum class 中的枚举常量 cool.scx.dao.where.WhereType
不在之间
NOT_EQUAL - enum class 中的枚举常量 cool.scx.dao.where.WhereType
不等于
NOT_IN - enum class 中的枚举常量 cool.scx.dao.where.WhereType
NOT IN
NOT_LIKE - enum class 中的枚举常量 cool.scx.dao.where.WhereType
Not Like
NOT_LIKE_REGEX - enum class 中的枚举常量 cool.scx.dao.where.WhereType
Like 正则表达式
notBetween(String, Object, Object, WhereOption...) - 类中的方法 cool.scx.dao.Query
不处于两者之间
notBetween(String, Object, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
不处于两者之间
notBetween(String, Object, Object, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
不处于两者之间
notEqual(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.Query
不相等
notEqual(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
不相等
notEqual(String, Object, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
不相等
notIn(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.Query
不在其中
notIn(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
不在其中
notIn(String, Object, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
不在其中
notLike(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.Query
not like : 默认会在首尾添加 %
notLike(String, Object, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
not like : 默认会在首尾添加 %
notLike(String, Object, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
not like : 默认会在首尾添加 %
notLikeRegex(String, String, WhereOption...) - 类中的方法 cool.scx.dao.Query
not like : 根据 SQL 表达式进行判断
notLikeRegex(String, String, WhereOption...) - 类中的方法 cool.scx.dao.where.Where
not like : 根据 SQL 表达式进行判断
notLikeRegex(String, String, WhereOption...) - record class中的静态方法 cool.scx.dao.where.WhereBody
not like : 根据 SQL 表达式进行判断
notNull() - annotation interface 中的元素 cool.scx.dao.annotation.Column
是否必填 仅用于 创建或修复表时
notNull() - 类中的方法 cool.scx.dao.impl.AnnotationConfigColumnInfo
 
notNull() - 类中的方法 cool.scx.dao.impl.MySQLXDaoColumnInfo
 

O

of(String) - enum class中的静态方法 cool.scx.dao.ColumnInfoFilter.FilterMode
a
of(String) - enum class中的静态方法 cool.scx.dao.order_by.OrderByType
a
of(String) - enum class中的静态方法 cool.scx.dao.where.WhereType
a
ofExcluded() - 类中的静态方法 cool.scx.dao.SelectFilter
黑名单模式
ofExcluded() - 类中的静态方法 cool.scx.dao.UpdateFilter
启用黑名单模式 (当一个实体类所对应的 field 的值为 null 时, 会将此 field 所对应的列排除, 详情请看 UpdateFilter.ofExcluded(boolean))
ofExcluded(boolean) - 类中的静态方法 cool.scx.dao.UpdateFilter
启动黑名单模式
ofExcluded(boolean, String...) - 类中的静态方法 cool.scx.dao.UpdateFilter
黑名单模式
ofExcluded(String...) - 类中的静态方法 cool.scx.dao.SelectFilter
黑名单模式
ofExcluded(String...) - 类中的静态方法 cool.scx.dao.UpdateFilter
黑名单模式
offset() - 类中的方法 cool.scx.dao.pagination.Pagination
获取偏移量
ofIncluded() - 类中的静态方法 cool.scx.dao.SelectFilter
白名单模式
ofIncluded() - 类中的静态方法 cool.scx.dao.UpdateFilter
启用白名单模式 (当一个实体类所对应的 field 的值为 null 时, 会将此 field 所对应的列排除, 详情请看 UpdateFilter.ofIncluded(boolean))
ofIncluded(boolean) - 类中的静态方法 cool.scx.dao.UpdateFilter
启用白名单模式
ofIncluded(boolean, String...) - 类中的静态方法 cool.scx.dao.UpdateFilter
白名单模式
ofIncluded(String...) - 类中的静态方法 cool.scx.dao.SelectFilter
白名单模式
ofIncluded(String...) - 类中的静态方法 cool.scx.dao.UpdateFilter
白名单模式
OldMySQLDao<Entity> - cool.scx.dao.impl中的类
已过时。
OldMySQLDao(TableInfo<? extends OldMySQLDaoColumnInfo>, Class<Entity>, SQLRunner) - 类的构造器 cool.scx.dao.impl.OldMySQLDao
已过时。
a
OldMySQLDaoColumnInfo - cool.scx.dao.impl中的类
已过时。
OldMySQLDaoColumnInfo(Field) - 类的构造器 cool.scx.dao.impl.OldMySQLDaoColumnInfo
已过时。
a
OldMySQLTableInfo - cool.scx.dao.impl中的类
已过时。
OldMySQLTableInfo(Class<?>) - 类的构造器 cool.scx.dao.impl.OldMySQLTableInfo
已过时。
c
onUpdateValue() - annotation interface 中的元素 cool.scx.dao.annotation.Column
数据库更新时值 仅用于 创建或修复表时
onUpdateValue() - 类中的方法 cool.scx.dao.impl.AnnotationConfigColumnInfo
 
onUpdateValue() - 类中的方法 cool.scx.dao.impl.MySQLXDaoColumnInfo
 
orderBy() - 类中的方法 cool.scx.dao.Query
orderBy.
OrderBy - cool.scx.dao.order_by中的类
排序
OrderBy() - 类的构造器 cool.scx.dao.order_by.OrderBy
创建一个 OrderBy 对象
OrderBy(OrderBy) - 类的构造器 cool.scx.dao.order_by.OrderBy
根据旧的 OrderBy 创建一个 OrderBy 对象
OrderByOption - cool.scx.dao.order_by中的Enum Class
a
OrderByType - cool.scx.dao.order_by中的Enum Class
排序类型

P

pagination() - 类中的方法 cool.scx.dao.Query
pagination.
Pagination - cool.scx.dao.pagination中的类
分页参数
Pagination() - 类的构造器 cool.scx.dao.pagination.Pagination
创建一个 Pagination 对象
Pagination(Pagination) - 类的构造器 cool.scx.dao.pagination.Pagination
根据旧的 Pagination 创建一个 Pagination 对象
paramSize() - enum class中的方法 cool.scx.dao.where.WhereType
获取参数数量
parseColumnName(TableInfo<?>, String, boolean, boolean) - 类中的静态方法 cool.scx.dao.ColumnNameParser
 
primaryKey() - annotation interface 中的元素 cool.scx.dao.annotation.Column
此字段是否为主键 仅用于 创建或修复表时
primaryKey() - 类中的方法 cool.scx.dao.impl.AnnotationConfigColumnInfo
 
primaryKey() - 类中的方法 cool.scx.dao.impl.MySQLXDaoColumnInfo
 

Q

Query - cool.scx.dao中的类
查询参数类
针对 GroupBy , OrderBy , Pagination , Where 等进行的简单封装
同时附带一些简单的参数校验
只是 为了方便传递参数使用
Query() - 类的构造器 cool.scx.dao.Query
创建 Query 对象
Query(Query) - 类的构造器 cool.scx.dao.Query
a

R

remove(String) - 类中的方法 cool.scx.dao.group_by.GroupBy
a
remove(String) - 类中的方法 cool.scx.dao.order_by.OrderBy
a
remove(String) - 类中的方法 cool.scx.dao.where.Where
a
removeExcluded(String...) - 类中的方法 cool.scx.dao.ColumnInfoFilter
移除黑名单
removeGroupBy(String) - 类中的方法 cool.scx.dao.Query
a
removeIncluded(String...) - 类中的方法 cool.scx.dao.ColumnInfoFilter
移除白名单
removeOrderBy(String) - 类中的方法 cool.scx.dao.Query
a
removeWhere(String) - 类中的方法 cool.scx.dao.Query
a
REPLACE - enum class 中的枚举常量 cool.scx.dao.order_by.OrderByOption
a
REPLACE - enum class 中的枚举常量 cool.scx.dao.where.WhereOption
替换同名的 where 参数
rowCount() - 类中的方法 cool.scx.dao.pagination.Pagination
获取分页大小 (这里分页大小即等于行数 所以直接返回 pageSize)

S

select(Query, SelectFilter) - 接口中的方法 cool.scx.dao.BaseDao
查询
select(Query, SelectFilter) - 类中的方法 cool.scx.dao.impl.MySQLDao
获取列表
select(Query, SelectFilter) - 类中的方法 cool.scx.dao.impl.MySQLXDao
 
select(Query, SelectFilter) - 类中的方法 cool.scx.dao.impl.OldMySQLDao
已过时。
获取列表
SelectFilter - cool.scx.dao中的类
查询列过滤器
selectSQL() - 类中的方法 cool.scx.dao.impl.OldMySQLDaoColumnInfo
已过时。
查询时(select) 的 sql 片段 强烈建议提前生成好 !!!
set(Integer) - 类中的方法 cool.scx.dao.pagination.Pagination
设置每页数量
set(Integer, Integer) - 类中的方法 cool.scx.dao.pagination.Pagination
设置分页参数
setPagination(Integer) - 类中的方法 cool.scx.dao.Query
设置分页 默认 第一页
setPagination(Integer, Integer) - 类中的方法 cool.scx.dao.Query
设置分页参数
SKIP_IF_EMPTY_LIST - enum class 中的枚举常量 cool.scx.dao.where.WhereOption
在 in 或 not in 中 如果有效的参数条目 (指去除 null 后的) 为空 则跳过添加而不是报错
WhereOption.SKIP_IF_NULL 相同 是为了简化书写 其实际意义为参数中去除非法数值(为 null)后的列表长度是否为 0
SKIP_IF_NULL - enum class 中的枚举常量 cool.scx.dao.where.WhereOption
如果查询的参数值为 null 则跳过添加而不是报错
这里虽然叫做 SKIP_IF_NULL 但实际上表示的有效参数数量是不是和所接受的参数数量一致
只是为了简化书写
splitIntoColumnNameAndFieldPath(String) - 类中的静态方法 cool.scx.dao.ColumnNameParser
 
sqlRunner - 类中的变量 cool.scx.dao.impl.MySQLDao
SQLRunner
sqlRunner - 类中的变量 cool.scx.dao.impl.OldMySQLDao
已过时。
SQLRunner

T

Table - cool.scx.dao.annotation中的Annotation Interface
ScxModel model 层映射 设置此注解的方法 必须同时 继承 BaseModel
tableInfo - 类中的变量 cool.scx.dao.impl.MySQLDao
实体类对应的 table 结构
tableInfo - 类中的变量 cool.scx.dao.impl.OldMySQLDao
已过时。
实体类对应的 table 结构
tableName() - annotation interface 中的元素 cool.scx.dao.annotation.Table
表名称
tableName() - 类中的方法 cool.scx.dao.impl.AnnotationConfigTableInfo
tableName() - 类中的方法 cool.scx.dao.impl.MySQLXDaoTableInfo
tableName() - 类中的方法 cool.scx.dao.impl.OldMySQLTableInfo
已过时。
tablePrefix() - annotation interface 中的元素 cool.scx.dao.annotation.Table
表名称前缀
toDbDoc(Object, UpdateFilter) - 类中的方法 cool.scx.dao.impl.MySQLXDao
 
toEntity(DbDoc) - 类中的方法 cool.scx.dao.impl.MySQLXDao
 
toString() - record class中的方法 cool.scx.dao.ColumnNameParser.ColumnNameAndFieldPath
返回此记录的字符串表示形式。
toString() - record class中的方法 cool.scx.dao.where.WhereBody
返回此记录的字符串表示形式。
toString() - record class中的方法 cool.scx.dao.where.WhereParamsAndWhereClauses
返回此记录的字符串表示形式。
type() - annotation interface 中的元素 cool.scx.dao.annotation.Column
数据库字段类型 仅用于 创建或修复表时
type() - 类中的方法 cool.scx.dao.impl.AnnotationConfigColumnInfo
 
type() - 类中的方法 cool.scx.dao.impl.MySQLXDaoColumnInfo
 

U

unique() - annotation interface 中的元素 cool.scx.dao.annotation.Column
是否唯一 (注意 : 当 ScxContext.coreConfig().tombstone() 为 true 时) 会和 tombstone 字段 创建联合的唯一约束
unique() - 类中的方法 cool.scx.dao.impl.AnnotationConfigColumnInfo
 
unique() - 类中的方法 cool.scx.dao.impl.MySQLXDaoColumnInfo
 
update(Entity, Query, UpdateFilter) - 接口中的方法 cool.scx.dao.BaseDao
更新
update(Entity, Query, UpdateFilter) - 类中的方法 cool.scx.dao.impl.MySQLDao
更新数据
update(Entity, Query, UpdateFilter) - 类中的方法 cool.scx.dao.impl.MySQLXDao
 
update(Entity, Query, UpdateFilter) - 类中的方法 cool.scx.dao.impl.OldMySQLDao
已过时。
更新数据
UpdateFilter - cool.scx.dao中的类
更新及保存数据是的字段过滤器 (注意 excludeIfFieldValueIsNull 在 批量保存时无效)
updateSetSQL() - 类中的方法 cool.scx.dao.impl.OldMySQLDaoColumnInfo
已过时。
更新时的 sql 片段 强烈建议提前生成好!!!
USE_JSON_EXTRACT - enum class 中的枚举常量 cool.scx.dao.group_by.GroupByOption
a
USE_JSON_EXTRACT - enum class 中的枚举常量 cool.scx.dao.order_by.OrderByOption
使用 json 查询
USE_JSON_EXTRACT - enum class 中的枚举常量 cool.scx.dao.where.WhereOption
使用 json 查询
注意和 JSON_CONTAINS 一起使用时无效 因为 JSON_CONTAINS 自己有针对 Json 的特殊实现
USE_ORIGINAL_NAME - enum class 中的枚举常量 cool.scx.dao.group_by.GroupByOption
a
USE_ORIGINAL_NAME - enum class 中的枚举常量 cool.scx.dao.order_by.OrderByOption
a
USE_ORIGINAL_NAME - enum class 中的枚举常量 cool.scx.dao.where.WhereOption
使用原始名称 (不进行转换)
USE_ORIGINAL_VALUE - enum class 中的枚举常量 cool.scx.dao.where.WhereOption
注意只适用于 JSON_CONTAINS JSON_CONTAINS 默认会将值转换为 JSON 并去除为 value 为 null 的 字段 使用 原始值 时会将值 直接传递到 SQL 语句 若值为 实体类 则会转换为 JSON 不过 和默认情况相比, 转换的 JSON 会包含 value 为 null 的字段

V

ValidParamListIsEmptyException - cool.scx.dao.where.exception中的异常错误
当 whereType 为 in 或 not in 时 有效的参数条目 (指去除 null 后的) 为空
ValidParamListIsEmptyException(WhereType) - 异常错误的构造器 cool.scx.dao.where.exception.ValidParamListIsEmptyException
a
value1() - record class中的方法 cool.scx.dao.where.WhereBody
返回 value1 记录组件的值。
value2() - record class中的方法 cool.scx.dao.where.WhereBody
返回 value2 记录组件的值。
valueOf(String) - enum class中的静态方法 cool.scx.dao.ColumnInfoFilter.FilterMode
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cool.scx.dao.group_by.GroupByOption
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cool.scx.dao.order_by.OrderByOption
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cool.scx.dao.order_by.OrderByType
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cool.scx.dao.where.WhereOption
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cool.scx.dao.where.WhereType
Returns the enum constant of this class with the specified name.
values() - enum class中的静态方法 cool.scx.dao.ColumnInfoFilter.FilterMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cool.scx.dao.group_by.GroupByOption
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cool.scx.dao.order_by.OrderByOption
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cool.scx.dao.order_by.OrderByType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cool.scx.dao.where.WhereOption
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cool.scx.dao.where.WhereType
Returns an array containing the constants of this enum class, in the order they are declared.

W

where() - 类中的方法 cool.scx.dao.Query
where.
Where - cool.scx.dao.where中的类
where 查询条件封装类
Where() - 类的构造器 cool.scx.dao.where.Where
创建一个 Where 对象
Where(Where) - 类的构造器 cool.scx.dao.where.Where
根据旧的 Where 创建一个 Where 对象
WhereBody - cool.scx.dao.where中的Record Class
where 封装体
WhereBody(String, WhereType, Object, Object, WhereOption.Info) - record class的构造器 cool.scx.dao.where.WhereBody
创建 WhereBody 记录的实例。
whereClause() - record class中的方法 cool.scx.dao.where.WhereParamsAndWhereClauses
返回 whereClause 记录组件的值。
WhereOption - cool.scx.dao.where中的Enum Class
a
whereParams() - record class中的方法 cool.scx.dao.where.WhereParamsAndWhereClauses
返回 whereParams 记录组件的值。
WhereParamsAndWhereClauses - cool.scx.dao.where中的Record Class
 
WhereParamsAndWhereClauses(Object[], String[]) - record class的构造器 cool.scx.dao.where.WhereParamsAndWhereClauses
创建 WhereParamsAndWhereClauses 记录的实例。
whereSQL() - 类中的方法 cool.scx.dao.Query
获取 whereSQL
whereSQL() - 类中的方法 cool.scx.dao.where.Where
Getter for the field whereSQL.
whereSQL(Object...) - 类中的方法 cool.scx.dao.Query
设置 whereSQL 适用于 复杂查询的自定义 where 子句
支持三种类型 String , WhereBody 和 AbstractPlaceholderSQL 在最终 sql 中会拼接到 where 子句的最后
注意 : 除特殊语法外不需要手动在头部添加 AND
whereSQL(Object...) - 类中的方法 cool.scx.dao.where.Where
设置 whereSQL 适用于 复杂查询的自定义 where 子句
支持三种类型 String , WhereBody 和 AbstractPlaceholderSQL 在最终 cool.scx.sql 中会拼接到 where 子句的最后
注意 : 除特殊语法外不需要手动在头部添加 AND
whereType() - record class中的方法 cool.scx.dao.where.WhereBody
返回 whereType 记录组件的值。
WhereType - cool.scx.dao.where中的Enum Class
WhereType
where 查询条件的一些类型 如果无法满足要求请使用 whereSQL
whereTypeHandler() - enum class中的方法 cool.scx.dao.where.WhereType
 
WrongWhereTypeParamSizeException - cool.scx.dao.where.exception中的异常错误
错误的 WhereBody 参数长度异常
WrongWhereTypeParamSizeException(WhereType) - 异常错误的构造器 cool.scx.dao.where.exception.WrongWhereTypeParamSizeException
a

_

_entityClass() - 接口中的方法 cool.scx.dao.BaseDao
 
_entityClass() - 类中的方法 cool.scx.dao.impl.MySQLDao
 
_entityClass() - 类中的方法 cool.scx.dao.impl.MySQLXDao
 
_entityClass() - 类中的方法 cool.scx.dao.impl.OldMySQLDao
已过时。
 
_sqlRunner() - 类中的方法 cool.scx.dao.impl.MySQLDao
 
_sqlRunner() - 类中的方法 cool.scx.dao.impl.OldMySQLDao
已过时。
 
_tableInfo() - 类中的方法 cool.scx.dao.impl.MySQLDao
 
_tableInfo() - 类中的方法 cool.scx.dao.impl.OldMySQLDao
已过时。
 
_truncate() - 类中的方法 cool.scx.dao.impl.MySQLDao
清空表中所有数据 (注意此操作不受事务影响, 所以慎用!!!)
_truncate() - 类中的方法 cool.scx.dao.impl.OldMySQLDao
已过时。
清空表中所有数据 (注意此操作不受事务影响, 所以慎用!!!)
A B C D E F G H I J K L M N O P Q R S T U V W _ 
All Classes and Interfaces|所有程序包|序列化表格