|
|
|
@ -18,7 +18,11 @@ package org.apache.dolphinscheduler.plugin.doris;
|
|
|
|
|
|
|
|
|
|
import org.apache.dolphinscheduler.spi.datasource.DataSourceChannel; |
|
|
|
|
import org.apache.dolphinscheduler.spi.datasource.DataSourceChannelFactory; |
|
|
|
|
import org.apache.dolphinscheduler.spi.enums.DbType; |
|
|
|
|
|
|
|
|
|
import com.google.auto.service.AutoService; |
|
|
|
|
|
|
|
|
|
@AutoService(DataSourceChannelFactory.class) |
|
|
|
|
public class DorisDataSourceChannelFactory implements DataSourceChannelFactory { |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@ -28,6 +32,6 @@ public class DorisDataSourceChannelFactory implements DataSourceChannelFactory {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public String getName() { |
|
|
|
|
return "doris"; |
|
|
|
|
return DbType.DORIS.getDescp(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|