public class DBItem extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DBItem() | 
| DBItem(DBItem source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDBMode()Get DB选择模式: all(为当前对象下的所有对象),partial(部分对象),当ObjectMode为partial时,此项必填 | 
| String | getDbName()Get 需要迁移或同步的库名,当ObjectMode为partial时,此项必填 | 
| String | getEventMode()Get 选择要同步的模式,partial为部分,all为整选 | 
| String[] | getEvents()Get EventMode取值为partial时需要填写 | 
| String | getFunctionMode()Get 选择要同步的模式,partial为部分,all为整选 | 
| String[] | getFunctions()Get FunctionMode取值为partial时需要填写 | 
| String | getNewDbName()Get 迁移或同步后的库名,默认与源库相同 | 
| String | getNewSchemaName()Get 迁移或同步后的 schema name | 
| String | getProcedureMode()Get 选择要同步的模式,partial为部分,all为整选 | 
| String[] | getProcedures()Get ProcedureMode取值为partial时需要填写 | 
| String | getRoleMode()Get postgresql独有参数,角色选择模式: all 为当前对象下的所有角色对象,partial 为部分角色对象 | 
| RoleItem[] | getRoles()Get postgresql独有参数,当 RoleMode 为 partial 时, 此项需要填写 | 
| String | getSchemaMode()Get schema选择模式: all(为当前对象下的所有对象),partial(部分对象) | 
| String | getSchemaName()Get 迁移或同步的 schema | 
| String | getTableMode()Get 表选择模式: all(为当前对象下的所有对象),partial(部分对象),当DBMode为partial时此项必填 | 
| TableItem[] | getTables()Get 表图对象集合,当 TableMode 为 partial 时,此项需要填写 | 
| String | getTriggerMode()Get 选择要同步的模式,partial为部分,all为整选 | 
| String[] | getTriggers()Get TriggerMode取值为partial时需要填写 | 
| String | getViewMode()Get 视图选择模式: all 为当前对象下的所有视图对象,partial 为部分视图对象 | 
| ViewItem[] | getViews()Get 视图对象集合,当 ViewMode 为 partial 时, 此项需要填写 | 
| void | setDBMode(String DBMode)Set DB选择模式: all(为当前对象下的所有对象),partial(部分对象),当ObjectMode为partial时,此项必填 | 
| void | setDbName(String DbName)Set 需要迁移或同步的库名,当ObjectMode为partial时,此项必填 | 
| void | setEventMode(String EventMode)Set 选择要同步的模式,partial为部分,all为整选 | 
| void | setEvents(String[] Events)Set EventMode取值为partial时需要填写 | 
| void | setFunctionMode(String FunctionMode)Set 选择要同步的模式,partial为部分,all为整选 | 
| void | setFunctions(String[] Functions)Set FunctionMode取值为partial时需要填写 | 
| void | setNewDbName(String NewDbName)Set 迁移或同步后的库名,默认与源库相同 | 
| void | setNewSchemaName(String NewSchemaName)Set 迁移或同步后的 schema name | 
| void | setProcedureMode(String ProcedureMode)Set 选择要同步的模式,partial为部分,all为整选 | 
| void | setProcedures(String[] Procedures)Set ProcedureMode取值为partial时需要填写 | 
| void | setRoleMode(String RoleMode)Set postgresql独有参数,角色选择模式: all 为当前对象下的所有角色对象,partial 为部分角色对象 | 
| void | setRoles(RoleItem[] Roles)Set postgresql独有参数,当 RoleMode 为 partial 时, 此项需要填写 | 
| void | setSchemaMode(String SchemaMode)Set schema选择模式: all(为当前对象下的所有对象),partial(部分对象) | 
| void | setSchemaName(String SchemaName)Set 迁移或同步的 schema | 
| void | setTableMode(String TableMode)Set 表选择模式: all(为当前对象下的所有对象),partial(部分对象),当DBMode为partial时此项必填 | 
| void | setTables(TableItem[] Tables)Set 表图对象集合,当 TableMode 为 partial 时,此项需要填写 | 
| void | setTriggerMode(String TriggerMode)Set 选择要同步的模式,partial为部分,all为整选 | 
| void | setTriggers(String[] Triggers)Set TriggerMode取值为partial时需要填写 | 
| void | setViewMode(String ViewMode)Set 视图选择模式: all 为当前对象下的所有视图对象,partial 为部分视图对象 | 
| void | setViews(ViewItem[] Views)Set 视图对象集合,当 ViewMode 为 partial 时, 此项需要填写 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DBItem()
public DBItem(DBItem source)
public String getDbName()
public void setDbName(String DbName)
DbName - 需要迁移或同步的库名,当ObjectMode为partial时,此项必填public String getNewDbName()
public void setNewDbName(String NewDbName)
NewDbName - 迁移或同步后的库名,默认与源库相同public String getSchemaName()
public void setSchemaName(String SchemaName)
SchemaName - 迁移或同步的 schemapublic String getNewSchemaName()
public void setNewSchemaName(String NewSchemaName)
NewSchemaName - 迁移或同步后的 schema namepublic String getDBMode()
public void setDBMode(String DBMode)
DBMode - DB选择模式: all(为当前对象下的所有对象),partial(部分对象),当ObjectMode为partial时,此项必填public String getSchemaMode()
public void setSchemaMode(String SchemaMode)
SchemaMode - schema选择模式: all(为当前对象下的所有对象),partial(部分对象)public String getTableMode()
public void setTableMode(String TableMode)
TableMode - 表选择模式: all(为当前对象下的所有对象),partial(部分对象),当DBMode为partial时此项必填public TableItem[] getTables()
public void setTables(TableItem[] Tables)
Tables - 表图对象集合,当 TableMode 为 partial 时,此项需要填写public String getViewMode()
public void setViewMode(String ViewMode)
ViewMode - 视图选择模式: all 为当前对象下的所有视图对象,partial 为部分视图对象public ViewItem[] getViews()
public void setViews(ViewItem[] Views)
Views - 视图对象集合,当 ViewMode 为 partial 时, 此项需要填写public String getRoleMode()
public void setRoleMode(String RoleMode)
RoleMode - postgresql独有参数,角色选择模式: all 为当前对象下的所有角色对象,partial 为部分角色对象public RoleItem[] getRoles()
public void setRoles(RoleItem[] Roles)
Roles - postgresql独有参数,当 RoleMode 为 partial 时, 此项需要填写public String getFunctionMode()
public void setFunctionMode(String FunctionMode)
FunctionMode - 选择要同步的模式,partial为部分,all为整选public String getTriggerMode()
public void setTriggerMode(String TriggerMode)
TriggerMode - 选择要同步的模式,partial为部分,all为整选public String getEventMode()
public void setEventMode(String EventMode)
EventMode - 选择要同步的模式,partial为部分,all为整选public String getProcedureMode()
public void setProcedureMode(String ProcedureMode)
ProcedureMode - 选择要同步的模式,partial为部分,all为整选public String[] getFunctions()
public void setFunctions(String[] Functions)
Functions - FunctionMode取值为partial时需要填写public String[] getProcedures()
public void setProcedures(String[] Procedures)
Procedures - ProcedureMode取值为partial时需要填写public String[] getEvents()
public void setEvents(String[] Events)
Events - EventMode取值为partial时需要填写public String[] getTriggers()
public void setTriggers(String[] Triggers)
Triggers - TriggerMode取值为partial时需要填写Copyright © 2025. All rights reserved.