public class TableProcessorImpl extends Object implements TableProcessor
BEAN_NAME
Constructor and Description |
---|
TableProcessorImpl() |
public static TableProcessor getTableProcessor()
public ProcessorManager getProcessorManager()
getProcessorManager
in interface TableProcessor
public void setProcessorManager(ProcessorManager processorManager)
setProcessorManager
in interface TableProcessor
public void registerModifiedTime(Tables tables, long lastModifiedTime)
registerModifiedTime
in interface TableProcessor
public long getLastModifiedTime(String tableId)
getLastModifiedTime
in interface TableProcessor
public void addTables(Tables tables)
addTables
in interface TableProcessor
public void removeTables(Tables tables)
removeTables
in interface TableProcessor
public void addTable(Table table)
addTable
in interface TableProcessor
public void removeTable(Table table)
removeTable
in interface TableProcessor
public Table getTable(String packageName, String name)
getTable
in interface TableProcessor
public Table getTable(String name)
getTable
in interface TableProcessor
public List<String> getCreateSql(String name, String language)
getCreateSql
in interface TableProcessor
public List<String> getCreateSql(String name, String packageName, String language)
getCreateSql
in interface TableProcessor
public List<String> getCreateSql(Table table, String packageName, String language)
getCreateSql
in interface TableProcessor
public List<String> getCreateSql(Table table, String language)
getCreateSql
in interface TableProcessor
public Table getTableById(String id)
getTableById
in interface TableProcessor
public List<Table> getTables()
getTables
in interface TableProcessor
public List<Table> getSortedTables(List<Table> tableList)
getSortedTables
in interface TableProcessor
tableList
- public void initChar2Byte(String language)
initChar2Byte
in interface TableProcessor
public List<String> getUpdateSql(String name, String packageName, String language, Connection connection) throws SQLException
getUpdateSql
in interface TableProcessor
SQLException
public List<String> getUpdateSql(Table table, String packageName, String language, Connection connection) throws SQLException
getUpdateSql
in interface TableProcessor
SQLException
public String getDropSql(String name, String packageName, String language)
getDropSql
in interface TableProcessor
public String getDropSql(Table table, String packageName, String language)
getDropSql
in interface TableProcessor
public boolean checkTableExist(Table table, String language, Connection connection) throws SQLException
checkTableExist
in interface TableProcessor
SQLException
public List<String> getCreateSqls(String language)
getCreateSqls
in interface TableProcessor
public List<String> clearRefSqls(Table table, String language, Connection connection) throws SQLException
clearRefSqls
in interface TableProcessor
SQLException
Copyright © 2006–2018 TinyGroup. All rights reserved.