mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-02 17:40:28 +08:00
change package structure
This commit is contained in:
parent
6f798436c5
commit
864ce4d482
@ -21,7 +21,7 @@ import static com.alibaba.datax.plugin.rdbms.util.DBUtilErrorCode.*;
|
|||||||
import static com.alibaba.datax.plugin.rdbms.util.DataBaseType.PostgreSQL;
|
import static com.alibaba.datax.plugin.rdbms.util.DataBaseType.PostgreSQL;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by yuncheng on 07/13/2019.
|
* @author yuncheng
|
||||||
*/
|
*/
|
||||||
public class AdbpgWriter extends Writer {
|
public class AdbpgWriter extends Writer {
|
||||||
private static final DataBaseType DATABASE_TYPE = DataBaseType.PostgreSQL;
|
private static final DataBaseType DATABASE_TYPE = DataBaseType.PostgreSQL;
|
@ -23,7 +23,7 @@ import java.sql.Types;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
/**
|
/**
|
||||||
* Created by yuncheng on 07/15/2019.
|
* @author yuncheng
|
||||||
*/
|
*/
|
||||||
public class Adb4pgClientProxy implements AdbProxy {
|
public class Adb4pgClientProxy implements AdbProxy {
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(Adb4pgClientProxy.class);
|
private static final Logger LOG = LoggerFactory.getLogger(Adb4pgClientProxy.class);
|
||||||
|
@ -4,7 +4,7 @@ import com.alibaba.datax.common.plugin.RecordReceiver;
|
|||||||
|
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
||||||
/**
|
/**
|
||||||
* Created by yuncheng on 07/15/2019.
|
* @author yuncheng
|
||||||
*/
|
*/
|
||||||
public interface AdbProxy {
|
public interface AdbProxy {
|
||||||
public abstract void startWriteWithConnection(RecordReceiver recordReceiver, Connection connection);
|
public abstract void startWriteWithConnection(RecordReceiver recordReceiver, Connection connection);
|
||||||
|
@ -23,7 +23,7 @@ import java.util.*;
|
|||||||
import static com.alibaba.datax.plugin.rdbms.util.DBUtilErrorCode.COLUMN_SPLIT_ERROR;
|
import static com.alibaba.datax.plugin.rdbms.util.DBUtilErrorCode.COLUMN_SPLIT_ERROR;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by yuncheng on 07/13/2019.
|
* @author yuncheng
|
||||||
*/
|
*/
|
||||||
public class Adb4pgUtil {
|
public class Adb4pgUtil {
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.alibaba.datax.plugin.writer.adbpgwriter.util;
|
package com.alibaba.datax.plugin.writer.adbpgwriter.util;
|
||||||
/**
|
/**
|
||||||
* Created by yuncheng on 07/13/2019.
|
* @author yuncheng
|
||||||
*/
|
*/
|
||||||
public class Constant {
|
public class Constant {
|
||||||
public static final int DEFAULT_RETRY_TIMES = 3;
|
public static final int DEFAULT_RETRY_TIMES = 3;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.alibaba.datax.plugin.writer.adbpgwriter.util;
|
package com.alibaba.datax.plugin.writer.adbpgwriter.util;
|
||||||
/**
|
/**
|
||||||
* Created by yuncheng on 07/13/2019.
|
* @author yuncheng
|
||||||
*/
|
*/
|
||||||
public class Key {
|
public class Key {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user