public abstract class AbstractDatasourceProcessor extends Object implements DatasourceProcessor
| Constructor and Description |
|---|
AbstractDatasourceProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkDatasourceParam(BaseDataSourceParamDTO baseDataSourceParamDTO)
check datasource param is valid
|
protected void |
checkDatasourcePatter(String database)
check database name is valid
|
protected void |
checkHost(String host)
Check the host is valid
|
protected void |
checkOther(Map<String,String> other)
check other is valid
|
String |
getDatasourceUniqueId(ConnectionParam connectionParam,
DbType dbType)
get Datasource Client UniqueId
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateConnectionParams, createConnectionParams, createDatasourceParamDTO, getConnection, getDatasourceDriver, getDbType, getJdbcUrl, getValidationQuerypublic void checkDatasourceParam(BaseDataSourceParamDTO baseDataSourceParamDTO)
DatasourceProcessorcheckDatasourceParam in interface DatasourceProcessorprotected void checkHost(String host)
host - datasource hostprotected void checkDatasourcePatter(String database)
database - database nameprotected void checkOther(Map<String,String> other)
other - otherpublic String getDatasourceUniqueId(ConnectionParam connectionParam, DbType dbType)
DatasourceProcessorgetDatasourceUniqueId in interface DatasourceProcessorCopyright © 2022 The Apache Software Foundation. All rights reserved.