mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-18 12:24:21 +08:00
feat(db): 添加 TDW 数据库适配器支持
- 在 DbAdaptorFactory 中注册 TDW 引擎类型 - 为 TDW 引擎配置默认数据库适配器 - 扩展引擎适配器映射以包含 TDW 支持
This commit is contained in:
@@ -23,6 +23,7 @@ public class DbAdaptorFactory {
|
||||
dbAdaptorMap.put(EngineType.PRESTO.getName(), new PrestoAdaptor());
|
||||
dbAdaptorMap.put(EngineType.TRINO.getName(), new TrinoAdaptor());
|
||||
dbAdaptorMap.put(EngineType.ORACLE.getName(), new OracleAdaptor());
|
||||
dbAdaptorMap.put(EngineType.TDW.getName(), new DefaultDbAdaptor());
|
||||
}
|
||||
|
||||
public static DbAdaptor getEngineAdaptor(String engineType) {
|
||||
|
||||
Reference in New Issue
Block a user