public interface ViewProcessor
Modifier and Type | Method and Description |
---|---|
void |
addViews(Views views) |
boolean |
checkViewExists(View view,
Connection conn,
String language)
判断视图是否存在,根据不同的数据库类型调用对应的实现方法
|
void |
dependencyInit()
视图依赖初始化
|
List<String> |
getCreateSql(String language) |
String |
getCreateSql(String name,
String language) |
String |
getCreateSql(View view,
String language) |
List<String> |
getDropSql(String language) |
String |
getDropSql(String name,
String language) |
String |
getDropSql(View view,
String language) |
long |
getLastModifiedTime(String viewId) |
ProcessorManager |
getProcessorManager() |
String |
getUpdateSql(List<String> createViewSqls,
View view,
Connection connection,
String language) |
View |
getView(String name) |
View |
getViewById(String id) |
List<View> |
getViews() |
void |
registerModifiedTime(Views views,
long lastModify) |
void |
removeViews(Views views) |
void |
setProcessorManager(ProcessorManager processorManager) |
void addViews(Views views)
void removeViews(Views views)
String getUpdateSql(List<String> createViewSqls, View view, Connection connection, String language) throws SQLException
SQLException
void dependencyInit()
boolean checkViewExists(View view, Connection conn, String language) throws SQLException
view
- 视图元数据conn
- 当前执行创建view的连接信息language
- 当前数据类型SQLException
ProcessorManager getProcessorManager()
void setProcessorManager(ProcessorManager processorManager)
void registerModifiedTime(Views views, long lastModify)
long getLastModifiedTime(String viewId)
Copyright © 2006–2018 TinyGroup. All rights reserved.