mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-03 12:20:06 +08:00
华为GaussDB读写插件,代码补充
This commit is contained in:
parent
0e79171132
commit
594ddd4062
@ -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");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user