2 Commits

Author SHA1 Message Date
guilinlewis
3ef8006c3f Merge 60bc536ae2 into 8eeed87bac 2025-05-26 11:14:07 +08:00
supersonicbi
8eeed87bac (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
2025-05-26 10:36:29 +08:00
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 {
}