Class AbstractImporter
java.lang.Object
org.apache.shardingsphere.data.pipeline.api.executor.AbstractLifecycleExecutor
org.apache.shardingsphere.data.pipeline.core.importer.AbstractImporter
- All Implemented Interfaces:
Runnable,LifecycleExecutor,Importer
Abstract importer.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractImporter(ImporterConfiguration importerConfig, PipelineDataSourceManager dataSourceManager, PipelineChannel channel) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoStart()protected voiddoStop()protected abstract StringgetSchemaName(String logicTableName) Methods inherited from class org.apache.shardingsphere.data.pipeline.api.executor.AbstractLifecycleExecutor
isRunning, run, setRunning, start, stopMethods 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.api.executor.LifecycleExecutor
start, stop
-
Constructor Details
-
AbstractImporter
protected AbstractImporter(ImporterConfiguration importerConfig, PipelineDataSourceManager dataSourceManager, PipelineChannel channel)
-
-
Method Details
-
doStart
protected void doStart()- Specified by:
doStartin classAbstractLifecycleExecutor
-
getSchemaName
-
doStop
protected void doStop()- Specified by:
doStopin classAbstractLifecycleExecutor
-