(feature)(headless)Add oracle engine type and db adaptor.
Some checks are pending
supersonic CentOS CI / build (21) (push) Waiting to run
supersonic mac CI / build (21) (push) Waiting to run
supersonic ubuntu CI / build (21) (push) Waiting to run
supersonic windows CI / build (21) (push) Waiting to run

This commit is contained in:
supersonicbi
2025-05-26 10:36:29 +08:00
parent e171bdd97f
commit 8eeed87bac
3 changed files with 8 additions and 1 deletions

View File

@@ -13,7 +13,8 @@ public enum EngineType {
STARROCKS(10, "STARROCKS"),
KYUUBI(11, "KYUUBI"),
PRESTO(12, "PRESTO"),
TRINO(13, "TRINO"),;
TRINO(13, "TRINO"),
ORACLE(14, "ORACLE");
private Integer code;

View File

@@ -22,6 +22,7 @@ public class DbAdaptorFactory {
dbAdaptorMap.put(EngineType.KYUUBI.getName(), new KyuubiAdaptor());
dbAdaptorMap.put(EngineType.PRESTO.getName(), new PrestoAdaptor());
dbAdaptorMap.put(EngineType.TRINO.getName(), new TrinoAdaptor());
dbAdaptorMap.put(EngineType.ORACLE.getName(), new OracleAdaptor());
}
public static DbAdaptor getEngineAdaptor(String engineType) {

View File

@@ -0,0 +1,5 @@
package com.tencent.supersonic.headless.core.adaptor.db;
public class OracleAdaptor extends DefaultDbAdaptor {
}