public class ViewSqlProcessorImpl extends Object implements ViewSqlProcessor
| Constructor and Description |
|---|
ViewSqlProcessorImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkViewExists(View view,
Connection conn)
判断视图是否存在
|
String |
getCreateSql(View view)
获取构建视图的完整sql语句
|
protected String |
getDatabaseType() |
String |
getDropSql(View view)
获取删除视图的语句
|
String |
getUpdateSql(View view)
默认获取全量
|
protected String getDatabaseType()
public String getCreateSql(View view)
ViewSqlProcessorgetCreateSql in interface ViewSqlProcessorview - 视图配置信息元数据public String getDropSql(View view)
ViewSqlProcessorgetDropSql in interface ViewSqlProcessorview - 视图配置信息元数据public boolean checkViewExists(View view, Connection conn) throws SQLException
ViewSqlProcessorcheckViewExists in interface ViewSqlProcessorview - 视图元数据conn - 当前执行创建view的连接信息SQLExceptionpublic String getUpdateSql(View view)
getUpdateSql in interface ViewSqlProcessorview - Copyright © 2006–2018 TinyGroup. All rights reserved.