索引
常量字段值|所有程序包|所有类和接口
A
- ASC - 枚举 中的枚举常量 com.tangzc.autotable.annotation.enums.IndexSortTypeEnum
-
正序排序
- AutoColumn - com.tangzc.autotable.annotation中的批注类型
- AutoTable - com.tangzc.autotable.annotation中的批注类型
-
创建表时指定表名、schema、注释
B
- BIGINT - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- BINARY - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- BIT - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
-
二进制
- BIT - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- BLOB - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- BLOB - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- BOOL - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- BYTEA - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
C
- CHAR - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
-
字符串
- CHAR - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- charset() - 批注类型 中的元素 com.tangzc.autotable.annotation.mysql.MysqlCharset
-
字符集
- CLOB - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- collate() - 批注类型 中的元素 com.tangzc.autotable.annotation.mysql.MysqlCharset
-
字符排序
- collate() - 批注类型 中的元素 com.tangzc.autotable.annotation.mysql.MysqlColumnCharset
-
字符排序
- ColumnComment - com.tangzc.autotable.annotation中的批注类型
-
字段的备注
- ColumnDefault - com.tangzc.autotable.annotation中的批注类型
-
字段的默认值
- ColumnName - com.tangzc.autotable.annotation中的批注类型
-
列名
- ColumnNotNull - com.tangzc.autotable.annotation中的批注类型
-
标志该字段不允许为空
- ColumnType - com.tangzc.autotable.annotation中的批注类型
-
字段的类型
- com.tangzc.autotable.annotation - 程序包 com.tangzc.autotable.annotation
- com.tangzc.autotable.annotation.enums - 程序包 com.tangzc.autotable.annotation.enums
- com.tangzc.autotable.annotation.mysql - 程序包 com.tangzc.autotable.annotation.mysql
- com.tangzc.autotable.annotation.pgsql - 程序包 com.tangzc.autotable.annotation.pgsql
- comment() - 批注类型 中的元素 com.tangzc.autotable.annotation.AutoColumn
-
数据表字段备注
ColumnComment.value() - comment() - 批注类型 中的元素 com.tangzc.autotable.annotation.AutoTable
-
表注释,为空默认取类名
- comment() - 批注类型 中的元素 com.tangzc.autotable.annotation.Index
-
索引注释
- comment() - 批注类型 中的元素 com.tangzc.autotable.annotation.TableIndex
-
索引注释: 默认空字符串
D
- DATE - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- DATE - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- DATETIME - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- DECIMAL - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- DECIMAL - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- decimalLength() - 批注类型 中的元素 com.tangzc.autotable.annotation.AutoColumn
-
小数点长度,默认是-1,小于0相当于null
ColumnType.decimalLength() - decimalLength() - 批注类型 中的元素 com.tangzc.autotable.annotation.ColumnType
- defaultValue() - 批注类型 中的元素 com.tangzc.autotable.annotation.AutoColumn
-
默认值,默认为null
ColumnDefault.value() - DefaultValueEnum - com.tangzc.autotable.annotation.enums中的枚举
-
默认值类型
- defaultValueType() - 批注类型 中的元素 com.tangzc.autotable.annotation.AutoColumn
-
默认值,默认为null
ColumnDefault.type() - DESC - 枚举 中的枚举常量 com.tangzc.autotable.annotation.enums.IndexSortTypeEnum
-
倒序排序
- DOUBLE - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
E
- EMPTY_STRING - 枚举 中的枚举常量 com.tangzc.autotable.annotation.enums.DefaultValueEnum
-
空字符串:仅限于字符串类型
- ENUM - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
-
枚举
F
- field() - 批注类型 中的元素 com.tangzc.autotable.annotation.IndexField
-
字段名
- fields() - 批注类型 中的元素 com.tangzc.autotable.annotation.TableIndex
-
字段名:支持多字段
- FLOAT - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
-
小数
- FLOAT4 - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- FLOAT8 - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
I
- Ignore - com.tangzc.autotable.annotation中的批注类型
-
标志表或者字段不作为数据库维护项
- Index - com.tangzc.autotable.annotation中的批注类型
-
设置字段索引
- IndexField - com.tangzc.autotable.annotation中的批注类型
-
索引字段的详细描述
- indexFields() - 批注类型 中的元素 com.tangzc.autotable.annotation.TableIndex
-
字段名:兼容需要指定字段排序方式的模式
- IndexSortTypeEnum - com.tangzc.autotable.annotation.enums中的枚举
-
索引排序方法
- IndexTypeEnum - com.tangzc.autotable.annotation.enums中的枚举
-
索引类型,目前仅支持两种类型:
- INT - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
-
整数
- INT2 - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- INT4 - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- INT8 - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- isCustom(DefaultValueEnum) - 枚举中的静态方法 com.tangzc.autotable.annotation.enums.DefaultValueEnum
- isValid(DefaultValueEnum) - 枚举中的静态方法 com.tangzc.autotable.annotation.enums.DefaultValueEnum
J
- JSON - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
-
json
L
- length() - 批注类型 中的元素 com.tangzc.autotable.annotation.AutoColumn
-
字段长度,默认是-1,小于0相当于null
ColumnType.length() - length() - 批注类型 中的元素 com.tangzc.autotable.annotation.ColumnType
- LONGBLOB - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- LONGTEXT - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
M
- MEDIUMBLOB - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- MEDIUMINT - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- MEDIUMTEXT - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- MONEY - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- MysqlCharset - com.tangzc.autotable.annotation.mysql中的批注类型
-
指定MySQL字符编码和排序规则
- MysqlColumnCharset - com.tangzc.autotable.annotation.mysql中的批注类型
-
指定MySQL字段的字符编码和排序规则
- MysqlEngine - com.tangzc.autotable.annotation.mysql中的批注类型
-
指定MySQL引擎
- MysqlTypeConstant - com.tangzc.autotable.annotation.mysql中的接口
N
- name() - 批注类型 中的元素 com.tangzc.autotable.annotation.Index
-
索引的名字,不设置默认为{auto_idx_[表名]_[字段名]}
- name() - 批注类型 中的元素 com.tangzc.autotable.annotation.TableIndex
-
索引的名字,设置了名字例如union_name,系统会默认在名字前加auto_idx_前缀,也就是auto_idx_union_name
- NORMAL - 枚举 中的枚举常量 com.tangzc.autotable.annotation.enums.IndexTypeEnum
-
普通索引
- notNull() - 批注类型 中的元素 com.tangzc.autotable.annotation.AutoColumn
-
是否为可以为null,true是可以,false是不可以,默认为true
ColumnNotNull.value() - NULL - 枚举 中的枚举常量 com.tangzc.autotable.annotation.enums.DefaultValueEnum
-
null值
- NUMERIC - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
P
- parseFromMysql(String) - 枚举中的静态方法 com.tangzc.autotable.annotation.enums.IndexSortTypeEnum
- PgsqlTypeConstant - com.tangzc.autotable.annotation.pgsql中的接口
- PrimaryKey - com.tangzc.autotable.annotation中的批注类型
-
指定主键
S
- schema() - 批注类型 中的元素 com.tangzc.autotable.annotation.AutoTable
-
表schema
- SET - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- SMALLINT - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- sort() - 批注类型 中的元素 com.tangzc.autotable.annotation.IndexField
-
字段排序方式
T
- TableComment - com.tangzc.autotable.annotation中的批注类型
-
已过时。
- TableIndex - com.tangzc.autotable.annotation中的批注类型
-
设置表索引,fields与indexFields必须配置一个,不然不生效
- TableIndexes - com.tangzc.autotable.annotation中的批注类型
-
设置多个表索引
- TableName - com.tangzc.autotable.annotation中的批注类型
-
已过时。
- TEXT - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- TEXT - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- TIME - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- TIME - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- TIMESTAMP - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- TIMESTAMP - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
- TINYBLOB - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- TINYINT - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- TINYTEXT - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- type() - 批注类型 中的元素 com.tangzc.autotable.annotation.AutoColumn
-
字段类型:不填默认使用属性的数据类型进行转换,转换失败的字段不会添加
ColumnType.value() - type() - 批注类型 中的元素 com.tangzc.autotable.annotation.ColumnDefault
- type() - 批注类型 中的元素 com.tangzc.autotable.annotation.Index
-
索引类型
- type() - 批注类型 中的元素 com.tangzc.autotable.annotation.TableIndex
-
索引类型
U
- UNDEFINED - 枚举 中的枚举常量 com.tangzc.autotable.annotation.enums.DefaultValueEnum
-
未定义:在注解中必须填写一个值,同时表示无意义
- UNIQUE - 枚举 中的枚举常量 com.tangzc.autotable.annotation.enums.IndexTypeEnum
-
唯一索引与普通索引类似,不同的是创建唯一性索引的目的不是为了提高访问速度,而是为了避免数据出现重复。
V
- value() - 批注类型 中的元素 com.tangzc.autotable.annotation.AutoColumn
- value() - 批注类型 中的元素 com.tangzc.autotable.annotation.AutoTable
-
表名,为空默认取类名
- value() - 批注类型 中的元素 com.tangzc.autotable.annotation.ColumnComment
- value() - 批注类型 中的元素 com.tangzc.autotable.annotation.ColumnDefault
- value() - 批注类型 中的元素 com.tangzc.autotable.annotation.ColumnName
- value() - 批注类型 中的元素 com.tangzc.autotable.annotation.ColumnNotNull
- value() - 批注类型 中的元素 com.tangzc.autotable.annotation.ColumnType
- value() - 批注类型 中的元素 com.tangzc.autotable.annotation.mysql.MysqlColumnCharset
-
字符集
- value() - 批注类型 中的元素 com.tangzc.autotable.annotation.mysql.MysqlEngine
-
引擎名称
- value() - 批注类型 中的元素 com.tangzc.autotable.annotation.PrimaryKey
-
自增
- value() - 批注类型 中的元素 com.tangzc.autotable.annotation.TableComment
-
已过时。表注释
- value() - 批注类型 中的元素 com.tangzc.autotable.annotation.TableIndexes
-
索引集合
- value() - 批注类型 中的元素 com.tangzc.autotable.annotation.TableName
-
已过时。表名,为空默认取类名
- valueOf(String) - 枚举中的静态方法 com.tangzc.autotable.annotation.enums.DefaultValueEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举中的静态方法 com.tangzc.autotable.annotation.enums.IndexSortTypeEnum
-
返回带有指定名称的该类型的枚举常量。
- valueOf(String) - 枚举中的静态方法 com.tangzc.autotable.annotation.enums.IndexTypeEnum
-
返回带有指定名称的该类型的枚举常量。
- values() - 批注类型 中的元素 com.tangzc.autotable.annotation.ColumnType
-
目前仅支持MySQL的enum和set类型 如果字段是java的Enum类型,那么values可以不指定,默认取枚举的所有值
- values() - 枚举中的静态方法 com.tangzc.autotable.annotation.enums.DefaultValueEnum
-
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举中的静态方法 com.tangzc.autotable.annotation.enums.IndexSortTypeEnum
-
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举中的静态方法 com.tangzc.autotable.annotation.enums.IndexTypeEnum
-
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
- VARBINARY - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- VARCHAR - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
- VARCHAR - 接口中的静态变量 com.tangzc.autotable.annotation.pgsql.PgsqlTypeConstant
Y
- YEAR - 接口中的静态变量 com.tangzc.autotable.annotation.mysql.MysqlTypeConstant
-
日期
常量字段值|所有程序包|所有类和接口