package com.highdatas.mdm.pojo.kettle;
|
|
import java.sql.Connection;
|
import java.sql.SQLException;
|
import java.util.List;
|
|
/**
|
* @author kimi
|
* @description
|
* @date 2020-02-21 21:23
|
*/
|
|
|
public interface DataSourceInfo {
|
|
boolean createTable(String assembleTempTableName, List<String> fieldList);
|
|
boolean checkFieldList(String tableName, List<String> fieldList);
|
|
boolean checkTableExists(String assembleTempTableName);
|
|
List<String> getFieldsFromTable(String tableName);
|
Connection conn() throws SQLException;
|
|
boolean truncateData(String tempTableName);
|
boolean dropData(String tempTableName);
|
}
|