package com.platform.service;

import java.util.List;

import com.platform.entities.GatherOracleInfo;
import com.platform.entities.OracleConnectorParams;

public interface IOracleExtractService {
	
	/** 抽取数据库
	 * @param name
	 * @param dataInfo //采集库连接参数
	 * @param oracleConnect
	 * @return
	 * @throws Exception
	 */
	public boolean extractOracle(String name, List<OracleConnectorParams> dataInfo, GatherOracleInfo oracleConnect) throws Exception;
	
	/** 测试链接汇总数据库
	 * @param oracleConnect
	 * @return true：能连接
	 * @throws Exception
	 */
	public boolean isConnectTotalOracle(GatherOracleInfo oracleConnect) throws Exception;

	/** 抽取标准表
	 * @param name
	 * @param dataInfolist
	 * @param oracleConnect
	 * @return
	 * @throws Exception
	 */
	boolean extractStandardTable(String name, List<OracleConnectorParams> dataInfolist,
			GatherOracleInfo oracleConnect) throws Exception;
	
}
