public class MysqlJdbcDatabaseSolution extends AbstractJdbcDatabaseSolution
| Constructor and Description |
|---|
MysqlJdbcDatabaseSolution()
Public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearTableSql(StringBuilder clearTableSq,
String tableName,
boolean ifdrop) |
protected void |
createDropTableSql(StringBuilder dropTableSql,
String tableName) |
private String |
createKeyDefinition(List<FieldDefinition> keyDefinitionList)
the keyDefinitionList tableSql.
|
protected void |
createTableBody(StringBuilder createTableSql,
List<FieldDefinition> fieldDefinitions) |
protected void |
createTableEnd(StringBuilder createTableSql) |
protected void |
createTableHead(StringBuilder createTableSql,
String tableName) |
String |
getRandomlySql(String tableName,
int fetchSize) |
String |
queryPage(int start,
int end,
String selectSql,
String filterSql,
String orderBySql,
String tableName) |
clearTable, createTable, getJdbcTypeMapping, registerTypepublic String queryPage(int start, int end, String selectSql, String filterSql, String orderBySql, String tableName)
protected void createDropTableSql(StringBuilder dropTableSql, String tableName)
createDropTableSql in class AbstractJdbcDatabaseSolutionprotected void createTableHead(StringBuilder createTableSql, String tableName)
createTableHead in class AbstractJdbcDatabaseSolutionprotected void createTableBody(StringBuilder createTableSql, List<FieldDefinition> fieldDefinitions)
createTableBody in class AbstractJdbcDatabaseSolutionprivate String createKeyDefinition(List<FieldDefinition> keyDefinitionList)
keyDefinitionList - keyDefinitionListprotected void createTableEnd(StringBuilder createTableSql)
createTableEnd in class AbstractJdbcDatabaseSolutionpublic void clearTableSql(StringBuilder clearTableSq, String tableName, boolean ifdrop)
clearTableSql in class AbstractJdbcDatabaseSolutionCopyright © 2011–2016 B3log. All rights reserved.