Package jslx.dbutilities.dbutil
Interface DbCreateTask.DbInsertStepIfc
-
- All Superinterfaces:
DbCreateTask.DbCreateTaskExecuteStepIfc
- All Known Subinterfaces:
DbCreateTask.AfterTablesOnlyStepIfc
- All Known Implementing Classes:
DbCreateTask.DbCreateTaskBuilder
- Enclosing class:
- DbCreateTask
public static interface DbCreateTask.DbInsertStepIfc extends DbCreateTask.DbCreateTaskExecuteStepIfc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DbCreateTask.DBAfterInsertStepIfc
withExcelData(java.nio.file.Path toExcelWorkbook, java.util.List<java.lang.String> tableNames)
DbCreateTask.DBAfterInsertStepIfc
withInserts(java.nio.file.Path toInsertScript)
-
Methods inherited from interface jslx.dbutilities.dbutil.DbCreateTask.DbCreateTaskExecuteStepIfc
execute
-
-
-
-
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 nulltableNames
- 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
-
-