华为GaussDB读写插件,代码补充

This commit is contained in:
jinqi 2023-01-13 15:41:52 +08:00
parent 0e79171132
commit 594ddd4062

View File

@ -71,6 +71,8 @@ public enum DataBaseType {
break; break;
case StarRocks: case StarRocks:
break; break;
case GaussDB:
break;
default: default:
throw DataXException.asDataXException(DBUtilErrorCode.UNSUPPORTED_TYPE, "unsupported database type."); throw DataXException.asDataXException(DBUtilErrorCode.UNSUPPORTED_TYPE, "unsupported database type.");
} }
@ -122,6 +124,8 @@ public enum DataBaseType {
result = jdbc + "?" + suffix; result = jdbc + "?" + suffix;
} }
break; break;
case GaussDB:
break;
default: default:
throw DataXException.asDataXException(DBUtilErrorCode.UNSUPPORTED_TYPE, "unsupported database type."); throw DataXException.asDataXException(DBUtilErrorCode.UNSUPPORTED_TYPE, "unsupported database type.");
} }
@ -149,6 +153,8 @@ public enum DataBaseType {
case KingbaseES: case KingbaseES:
case Oscar: case Oscar:
break; break;
case GaussDB:
break;
default: default:
throw DataXException.asDataXException(DBUtilErrorCode.UNSUPPORTED_TYPE, "unsupported database type."); throw DataXException.asDataXException(DBUtilErrorCode.UNSUPPORTED_TYPE, "unsupported database type.");
} }
@ -174,6 +180,8 @@ public enum DataBaseType {
case KingbaseES: case KingbaseES:
case Oscar: case Oscar:
break; break;
case GaussDB:
break;
default: default:
throw DataXException.asDataXException(DBUtilErrorCode.UNSUPPORTED_TYPE, "unsupported database type"); throw DataXException.asDataXException(DBUtilErrorCode.UNSUPPORTED_TYPE, "unsupported database type");
} }
@ -200,6 +208,8 @@ public enum DataBaseType {
break; break;
case Oscar: case Oscar:
break; break;
case GaussDB:
break;
default: default:
throw DataXException.asDataXException(DBUtilErrorCode.UNSUPPORTED_TYPE, "unsupported database type"); throw DataXException.asDataXException(DBUtilErrorCode.UNSUPPORTED_TYPE, "unsupported database type");
} }