Class AbstractDataSourceChecker
java.lang.Object
org.apache.shardingsphere.data.pipeline.core.check.datasource.AbstractDataSourceChecker
- All Implemented Interfaces:
DataSourceChecker,org.apache.shardingsphere.spi.type.typed.TypedSPI
Abstract data source checker.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidcheckConnection(Collection<? extends DataSource> dataSources) final voidcheckTargetTable(Collection<? extends DataSource> dataSources, TableNameSchemaNameMapping tableNameSchemaNameMapping, Collection<String> logicTableNames) protected abstract StringgetType()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.data.pipeline.spi.check.datasource.DataSourceChecker
checkPrivilege, checkVariableMethods inherited from interface org.apache.shardingsphere.spi.type.typed.TypedSPI
getTypeAliases
-
Constructor Details
-
AbstractDataSourceChecker
public AbstractDataSourceChecker()
-
-
Method Details
-
checkConnection
- Specified by:
checkConnectionin interfaceDataSourceChecker
-
checkTargetTable
public final void checkTargetTable(Collection<? extends DataSource> dataSources, TableNameSchemaNameMapping tableNameSchemaNameMapping, Collection<String> logicTableNames) - Specified by:
checkTargetTablein interfaceDataSourceChecker
-
getDatabaseType
-
getType
- Specified by:
getTypein interfaceorg.apache.shardingsphere.spi.type.typed.TypedSPI
-