Examples of ExportTempTableBean


Examples of com.asakusafw.bulkloader.bean.ExportTempTableBean

            conn = DBConnection.getConnection();
            stmt = conn.prepareStatement(sql);
            stmt.setString(1, jobflowSid);
            rs = DBConnection.executeQuery(stmt, sql, new String[]{jobflowSid});
            while (rs.next()) {
                ExportTempTableBean bean = new ExportTempTableBean();
                bean.setJobflowSid(jobflowSid);
                bean.setExportTableName(rs.getString("TABLE_NAME"));
                bean.setTemporaryTableName(rs.getString("EXPORT_TEMP_NAME"));
                bean.setDuplicateFlagTableName(rs.getString("DUPLICATE_FLG_NAME"));
                bean.setTempTableStatus(ExportTempTableStatus.find(rs.getString("TEMP_TABLE_STATUS")));
                beanList.add(bean);
            }
        } catch (SQLException e) {
            throw BulkLoaderSystemException.createInstanceCauseBySQLException(
                    e,
View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExportTempTableBean

             */
            @Override
            protected List<ExportTempTableBean> getExportTempTable(String jobflowSid)
                    throws BulkLoaderSystemException {
                ExportTempTableBean[] tempBean = new ExportTempTableBean[2];
                tempBean[0] = new ExportTempTableBean();
                tempBean[0].setJobflowSid("11");
                tempBean[0].setExportTableName("table1");
                tempBean[0].setTemporaryTableName("teble1_tmp");
                tempBean[0].setTempTableStatus(null);
                tempBean[1] = new ExportTempTableBean();
                tempBean[1].setJobflowSid("11");
                tempBean[1].setExportTableName("table2");
                tempBean[1].setTemporaryTableName("table2_temp");
                tempBean[1].setTempTableStatus(null);
                return Arrays.asList(tempBean);
View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExportTempTableBean

             */
            @Override
            protected List<ExportTempTableBean> getExportTempTable(String jobflowSid)
                    throws BulkLoaderSystemException {
                ExportTempTableBean[] tempBean = new ExportTempTableBean[2];
                tempBean[0] = new ExportTempTableBean();
                tempBean[0].setJobflowSid("11");
                tempBean[0].setExportTableName("table1");
                tempBean[0].setTemporaryTableName("teble1_tmp");
                tempBean[0].setTempTableStatus(null);
                tempBean[1] = new ExportTempTableBean();
                tempBean[1].setJobflowSid("11");
                tempBean[1].setExportTableName("table2");
                tempBean[1].setTemporaryTableName("table2_temp");
                tempBean[1].setTempTableStatus(null);
                return Arrays.asList(tempBean);
View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExportTempTableBean

             */
            @Override
            protected List<ExportTempTableBean> getExportTempTable(String jobflowSid)
                    throws BulkLoaderSystemException {
                ExportTempTableBean[] tempBean = new ExportTempTableBean[2];
                tempBean[0] = new ExportTempTableBean();
                tempBean[0].setJobflowSid("11");
                tempBean[0].setExportTableName("table1");
                tempBean[0].setTemporaryTableName("teble1_tmp");
                tempBean[0].setTempTableStatus(ExportTempTableStatus.find("1"));
                tempBean[1] = new ExportTempTableBean();
                tempBean[1].setJobflowSid("11");
                tempBean[1].setExportTableName("table2");
                tempBean[1].setTemporaryTableName("table2_temp");
                tempBean[1].setTempTableStatus(ExportTempTableStatus.find("1"));
                return Arrays.asList(tempBean);
View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExportTempTableBean

             */
            @Override
            protected List<ExportTempTableBean> getExportTempTable(String jobflowSid)
                    throws BulkLoaderSystemException {
                ExportTempTableBean[] tempBean = new ExportTempTableBean[2];
                tempBean[0] = new ExportTempTableBean();
                tempBean[0].setJobflowSid("11");
                tempBean[0].setExportTableName("table1");
                tempBean[0].setTemporaryTableName("teble1_tmp");
                tempBean[0].setTempTableStatus(ExportTempTableStatus.find("1"));
                tempBean[1] = new ExportTempTableBean();
                tempBean[1].setJobflowSid("11");
                tempBean[1].setExportTableName("table2");
                tempBean[1].setTemporaryTableName("table2_temp");
                tempBean[1].setTempTableStatus(ExportTempTableStatus.find("1"));
                return Arrays.asList(tempBean);
View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExportTempTableBean

             */
            @Override
            protected List<ExportTempTableBean> getExportTempTable(String jobflowSid)
                    throws BulkLoaderSystemException {
                ExportTempTableBean[] tempBean = new ExportTempTableBean[2];
                tempBean[0] = new ExportTempTableBean();
                tempBean[0].setJobflowSid("11");
                tempBean[0].setExportTableName("table1");
                tempBean[0].setTemporaryTableName("teble1_tmp");
                tempBean[0].setTempTableStatus(ExportTempTableStatus.find("2"));
                tempBean[1] = new ExportTempTableBean();
                tempBean[1].setJobflowSid("11");
                tempBean[1].setExportTableName("table2");
                tempBean[1].setTemporaryTableName("table2_temp");
                tempBean[1].setTempTableStatus(ExportTempTableStatus.find("2"));
                return Arrays.asList(tempBean);
View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExportTempTableBean

     */
    @Test
    public void deleteTest01() throws Exception {
        // 入力値の生成
        ExportTempTableBean[] tempBean = new ExportTempTableBean[2];
        tempBean[0] = new ExportTempTableBean();
        tempBean[0].setJobflowSid("11");
        tempBean[0].setExportTableName("table1");
        tempBean[0].setTemporaryTableName("teble1_tmp");
        tempBean[0].setTempTableStatus(ExportTempTableStatus.find("1"));
        tempBean[1] = new ExportTempTableBean();
        tempBean[1].setJobflowSid("11");
        tempBean[1].setExportTableName("table2");
        tempBean[1].setTemporaryTableName("table2_temp");
        tempBean[1].setTempTableStatus(ExportTempTableStatus.find("setTempTableStatus"));

View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExportTempTableBean

     */
    @Test
    public void deleteTest03() throws Exception {
        // 入力値の生成
        ExportTempTableBean[] tempBean = new ExportTempTableBean[2];
        tempBean[0] = new ExportTempTableBean();
        tempBean[0].setJobflowSid("11");
        tempBean[0].setExportTableName("table1");
        tempBean[0].setTemporaryTableName("teble1_tmp");
        tempBean[0].setTempTableStatus(ExportTempTableStatus.find("1"));
        tempBean[1] = new ExportTempTableBean();
        tempBean[1].setJobflowSid("11");
        tempBean[1].setExportTableName("table2");
        tempBean[1].setTemporaryTableName("table2_temp");
        tempBean[1].setTempTableStatus(ExportTempTableStatus.find("1"));

View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExportTempTableBean

     */
    @Test
    public void deleteTest04() throws Exception {
        // 入力値の生成
        ExportTempTableBean[] tempBean = new ExportTempTableBean[2];
        tempBean[0] = new ExportTempTableBean();
        tempBean[0].setJobflowSid("11");
        tempBean[0].setExportTableName("table1");
        tempBean[0].setTemporaryTableName("teble1_tmp");
        tempBean[0].setTempTableStatus(ExportTempTableStatus.find("1"));
        tempBean[1] = new ExportTempTableBean();
        tempBean[1].setJobflowSid("11");
        tempBean[1].setExportTableName("table2");
        tempBean[1].setTemporaryTableName("table2_temp");
        tempBean[1].setTempTableStatus(ExportTempTableStatus.find("1"));

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.