mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-02 11:11:08 +08:00
Update DefaultDataHandler.java
This commit is contained in:
parent
b55d26dca7
commit
ea488d20c4
@ -47,6 +47,16 @@ public class DefaultDataHandler implements DataHandler {
|
||||
|
||||
private Map<String, List<ColumnMeta>> columnMetas;
|
||||
|
||||
|
||||
static {
|
||||
try {
|
||||
Class.forName("com.taosdata.jdbc.TSDBDriver");
|
||||
Class.forName("com.taosdata.jdbc.rs.RestfulDriver");
|
||||
} catch (ClassNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public DefaultDataHandler(Configuration configuration) {
|
||||
this.username = configuration.getString(Key.USERNAME, Constants.DEFAULT_USERNAME);
|
||||
this.password = configuration.getString(Key.PASSWORD, Constants.DEFAULT_PASSWORD);
|
||||
|
Loading…
Reference in New Issue
Block a user