public class SQLiteTableBuilder extends AbstractTableBuilder
connection, fieldMapping, logger, quickDAOConfig| 构造器和说明 |
|---|
SQLiteTableBuilder(QuickDAOConfig quickDAOConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAutoIncrementSQL(Property property)
创建自增列SQL语句
|
Entity[] |
getDatabaseEntity()
获取数据库信息
|
boolean |
hasIndexExists(Entity entity,
IndexType indexType)
判断索引是否已经存在
|
boolean |
hasTableExists(Entity entity)
判断表是否已经存在
|
alterColumn, autoBuildDatabase, createIndex, createTable, dropIndex, dropTable, hasConstraintExists, rebuildpublic SQLiteTableBuilder(QuickDAOConfig quickDAOConfig)
public Entity[] getDatabaseEntity() throws SQLException
TableBuildergetDatabaseEntity 在接口中 TableBuildergetDatabaseEntity 在类中 AbstractTableBuilderSQLExceptionpublic String getAutoIncrementSQL(Property property)
TableBuildergetAutoIncrementSQL 在接口中 TableBuildergetAutoIncrementSQL 在类中 AbstractTableBuilderpublic boolean hasTableExists(Entity entity) throws SQLException
TableBuilderhasTableExists 在接口中 TableBuilderhasTableExists 在类中 AbstractTableBuilderSQLExceptionpublic boolean hasIndexExists(Entity entity, IndexType indexType) throws SQLException
TableBuilderhasIndexExists 在接口中 TableBuilderhasIndexExists 在类中 AbstractTableBuilderSQLExceptionCopyright © 2019. All rights reserved.