|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.squirrel_sql.plugins.dataimport.ImportDataIntoTableExecutor
public class ImportDataIntoTableExecutor
This class does the main work for importing the file into the database.
| Constructor Summary | |
|---|---|
ImportDataIntoTableExecutor(ISession session,
ITableInfo table,
TableColumnInfo[] columns,
List<String> importerColumns,
ColumnMappingTableModel mapping,
IFileImporter importer)
The standard constructor |
|
| Method Summary | |
|---|---|
void |
execute()
Starts the thread that executes the insert operation. |
void |
setSkipHeader(boolean skip)
If the header should be skipped |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImportDataIntoTableExecutor(ISession session,
ITableInfo table,
TableColumnInfo[] columns,
List<String> importerColumns,
ColumnMappingTableModel mapping,
IFileImporter importer)
session - The sessiontable - The table to import intocolumns - The columns of the destination tableimporterColumns - The columns of the importermapping - The mapping of the columnsimporter - The file importer| Method Detail |
|---|
public void setSkipHeader(boolean skip)
skip - public void execute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||