| Package | Description |
|---|---|
| com.mybatisflex.annotation |
MyBatis-Flex 相关注解。
|
| com.mybatisflex.codegen.config |
配置选项。
|
| com.mybatisflex.core |
MyBatis-Flex 一个优雅的 MyBatis 增强框架。
|
| com.mybatisflex.core.keygen |
主键生成功能。
|
| com.mybatisflex.core.row |
Db + Row 功能。
|
| com.mybatisflex.core.table |
实体类(表)结构元数据解析。
|
| Modifier and Type | Method and Description |
|---|---|
static KeyType |
KeyType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyType[] |
KeyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
KeyType |
ColumnConfig.getKeyType() |
| Modifier and Type | Method and Description |
|---|---|
ColumnConfig.Builder |
ColumnConfig.Builder.keyType(KeyType keyType) |
ColumnConfig |
ColumnConfig.setKeyType(KeyType keyType) |
| Modifier and Type | Method and Description |
|---|---|
KeyType |
FlexGlobalConfig.KeyConfig.getKeyType() |
| Modifier and Type | Method and Description |
|---|---|
void |
FlexGlobalConfig.KeyConfig.setKeyType(KeyType keyType) |
| Modifier and Type | Method and Description |
|---|---|
static KeyType |
MybatisKeyGeneratorUtil.getKeyType(IdInfo idInfo,
FlexGlobalConfig.KeyConfig globalKeyConfig)
获取主键的 keyType,优先通过 @id 获取,获取不到通过全局配置获取
|
| Modifier and Type | Field and Description |
|---|---|
protected KeyType |
RowKey.keyType
主键类型
|
| Modifier and Type | Method and Description |
|---|---|
KeyType |
RowKey.getKeyType() |
| Modifier and Type | Method and Description |
|---|---|
static RowKey |
RowKey.of(String keyColumn,
KeyType keyType) |
static RowKey |
RowKey.of(String keyColumn,
KeyType keyType,
String keyTypeValue) |
static RowKey |
RowKey.of(String keyColumn,
KeyType keyType,
String keyTypeValue,
boolean before) |
| Modifier and Type | Method and Description |
|---|---|
KeyType |
IdInfo.getKeyType() |
| Modifier and Type | Method and Description |
|---|---|
void |
IdInfo.setKeyType(KeyType keyType) |
Copyright © 2024. All rights reserved.