public class ImportCommand extends ImportCommand
IMPORT_FROM_DEFINITION [IMPORT_KEY import_key] | [[[FILE path] | [FILE_KEY file_key]] [DELIMITER delimiter] [DATE_FORMAT date_format] [ATTRIBUTES attributes] TEMPLATE template_name]Usage
-- Simple import -- IMPORT_FROM_DEFINITION FILE /docs/temp.txt TEMPLATE Temp_ImportTHREAD MODE: SINGLE THREADED command
CURSOR_SIZE
Constructor and Description |
---|
ImportCommand(Connection connection,
Pattern pattern) |
Modifier and Type | Method and Description |
---|---|
protected Importer |
buildImporter(Parser p) |
protected DBImportFile |
getImportDefinition(Parser p) |
protected ImportFileSource |
getImportSource(DataSource ds,
Parser p) |
protected DBImportTemplate |
getImportTemplate(Parser p) |
appendResult, buildFieldDef, configImporter, execute, getColumnName, getColumnType, getCursorName, getImportFile, getRecordID, getValue
appendResult, getRecordKey, isExecuteOnly
execute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRawTitle
public ImportCommand(Connection connection, Pattern pattern)
connection
- pattern
- protected Importer buildImporter(Parser p) throws java.lang.Exception
buildImporter
in class ImportCommand
p
- java.lang.Exception
- a serious problemprotected ImportFileSource getImportSource(DataSource ds, Parser p) throws java.lang.Exception
getImportSource
in class ImportCommand
ds
- the data sourcep
- java.lang.Exception
- a serious problemprotected DBImportFile getImportDefinition(Parser p) throws java.lang.Exception
p
- java.lang.Exception
- a serious problemprotected DBImportTemplate getImportTemplate(Parser p) throws java.lang.Exception
p
- java.lang.Exception
- a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.