Interface DbCreateTask.DbInsertStepIfc

    • Method Detail

      • withExcelData

        DbCreateTask.DBAfterInsertStepIfc withExcelData​(java.nio.file.Path toExcelWorkbook,
                                                        java.util.List<java.lang.String> tableNames)
        Parameters:
        toExcelWorkbook - a path to an Excel workbook that can be read to insert data into the database, must not be null
        tableNames - a list of table names that need to be filled. Sheets in the workbook must correspond exactly to these names
        Returns:
        a reference to the alter step in the builder process
      • withInserts

        DbCreateTask.DBAfterInsertStepIfc withInserts​(java.nio.file.Path toInsertScript)
        Parameters:
        toInsertScript - a path to an SQL script that can be read to insert data into the database, must not be null
        Returns:
        a reference to the alter step in the builder process