| 程序包 | 说明 |
|---|---|
| org.mimosaframework.orm.platform | |
| org.mimosaframework.orm.platform.db2 | |
| org.mimosaframework.orm.platform.oracle | |
| org.mimosaframework.orm.platform.sqlite |
| 限定符和类型 | 方法和说明 |
|---|---|
TableStructure |
CompareUpdateTableMate.getStructure() |
TableStructure |
DataDefinition.getTableStructure() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<TableStructure> |
CompareUpdateTableMate.getTableStructures() |
List<TableStructure> |
PlatformDialect.getTableStructures(List<String> classTableNames) |
List<TableStructure> |
Dialect.getTableStructures(List<String> classTableNames) |
protected List<TableStructure> |
PlatformDialect.loadingTableStructures(List<String> classTableNames) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected StampDrop |
PlatformDialect.commonDropTable(TableStructure structure) |
List<ColumnEditType> |
PlatformDialect.compareColumnChange(TableStructure structure,
MappingField currField,
TableColumnStructure columnStructure)
重要!
|
List<ColumnEditType> |
Dialect.compareColumnChange(TableStructure structure,
MappingField currField,
TableColumnStructure columnStructure) |
DialectNextStep |
PlatformExecutor.createField(MappingTable mappingTable,
TableStructure tableStructure,
MappingField mappingField) |
void |
PlatformExecutor.doDialectRebuild(List<TableStructure> structures,
MappingTable mappingTable,
TableStructure structure) |
DialectNextStep |
PlatformExecutor.dropField(MappingTable mappingTable,
TableStructure tableStructure,
TableColumnStructure columnStructure) |
DialectNextStep |
PlatformExecutor.dropTable(TableStructure tableStructure) |
DialectNextStep |
PlatformExecutor.modifyField(MappingTable mappingTable,
TableStructure tableStructure,
MappingField mappingField,
TableColumnStructure columnStructure) |
protected void |
PlatformDialect.rebuildEndTable(MappingTable mappingTable,
TableStructure tableStructure) |
void |
PlatformDialect.rebuildTable(List<TableStructure> structures,
MappingTable mappingTable,
TableStructure tableStructure)
是否需要重建表,如果define方法返回要求重建表
则根据配置的需要是否调用并重建表
|
void |
Dialect.rebuildTable(List<TableStructure> structures,
MappingTable mappingTable,
TableStructure tableStructure) |
void |
CompareUpdateTableMate.setStructure(TableStructure structure) |
void |
DataDefinition.setTableStructure(TableStructure tableStructure) |
protected void |
PlatformDialect.triggerIndex(MappingTable mappingTable,
TableStructure tableStructure,
MappingField mappingField,
TableColumnStructure columnStructure)
检查表的索引
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
PlatformExecutor.doDialectRebuild(List<TableStructure> structures,
MappingTable mappingTable,
TableStructure structure) |
void |
PlatformDialect.rebuildTable(List<TableStructure> structures,
MappingTable mappingTable,
TableStructure tableStructure)
是否需要重建表,如果define方法返回要求重建表
则根据配置的需要是否调用并重建表
|
void |
Dialect.rebuildTable(List<TableStructure> structures,
MappingTable mappingTable,
TableStructure tableStructure) |
void |
CompareUpdateTableMate.setTableStructures(List<TableStructure> tableStructures) |
| 构造器和说明 |
|---|
DataDefinition(DataDefinitionType type,
MappingTable mappingTable,
TableStructure tableStructure,
MappingField mappingField) |
DataDefinition(DataDefinitionType type,
MappingTable mappingTable,
TableStructure tableStructure,
TableColumnStructure columnStructure) |
DataDefinition(DataDefinitionType type,
TableStructure tableStructure) |
DataDefinition(DataDefinitionType type,
TableStructure tableStructure,
MappingTable mappingTable,
MappingField mappingField,
TableColumnStructure columnStructure) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
DB2PlatformDialect.rebuildEndTable(MappingTable mappingTable,
TableStructure tableStructure) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<TableStructure> |
OraclePlatformDialect.getTableStructures(List<String> classTableNames) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<TableStructure> |
SqlitePlatformDialect.getTableStructures(List<String> classTableNames) |
Copyright © 2020. All rights reserved.