public class FileJdbcJob extends AbstractModuleFixture<FileJdbcJob>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_DIRECTORY |
static java.lang.String |
DEFAULT_FILE_NAME |
static java.lang.String |
DEFAULT_NAMES |
static java.lang.String |
DEFAULT_TABLE_NAME |
label
Constructor and Description |
---|
FileJdbcJob(java.lang.String dir,
java.lang.String fileName,
java.lang.String tableName,
java.lang.String names)
Construct a new FileJdbcJob using the provided directory and file names.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toDSL()
Renders the default DSL for this fixture.
|
static FileJdbcJob |
withDefaults() |
label, toString
public static final java.lang.String DEFAULT_DIRECTORY
public static final java.lang.String DEFAULT_FILE_NAME
public static final java.lang.String DEFAULT_TABLE_NAME
public static final java.lang.String DEFAULT_NAMES
public FileJdbcJob(java.lang.String dir, java.lang.String fileName, java.lang.String tableName, java.lang.String names)
dir
- the directory where the source file is locatedfileName
- The file from which data will be pulled.tableName
- the table where the data will be written.names
- a comma delimited list of column names that are contained in the source file.public static FileJdbcJob withDefaults()
public java.lang.String toDSL()
toDSL
in class AbstractModuleFixture<FileJdbcJob>