public class LoadInfileMrconsoStagingTablePopulator
extends org.springframework.jdbc.core.support.JdbcDaoSupport
implements org.springframework.batch.core.step.tasklet.Tasklet
Constructor and Description |
---|
LoadInfileMrconsoStagingTablePopulator() |
Modifier and Type | Method and Description |
---|---|
org.springframework.batch.repeat.RepeatStatus |
execute(org.springframework.batch.core.StepContribution contribution,
org.springframework.batch.core.scope.context.ChunkContext chunkContext) |
java.lang.String |
getRrfDir()
Gets the rrf dir.
|
java.lang.String |
getRrfFile()
Gets the rrf file.
|
java.lang.String |
getTableName()
Gets the table name.
|
protected void |
populateStagingTable()
Populate staging table.
|
void |
setRrfDir(java.lang.String rrfDir)
Sets the rrf dir.
|
void |
setRrfFile(java.lang.String rrfFile)
Sets the rrf file.
|
void |
setTableName(java.lang.String tableName)
Sets the table name.
|
public LoadInfileMrconsoStagingTablePopulator()
protected void populateStagingTable() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic org.springframework.batch.repeat.RepeatStatus execute(org.springframework.batch.core.StepContribution contribution, org.springframework.batch.core.scope.context.ChunkContext chunkContext) throws java.lang.Exception
execute
in interface org.springframework.batch.core.step.tasklet.Tasklet
java.lang.Exception
public java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
tableName
- the new table namepublic java.lang.String getRrfDir()
public void setRrfDir(java.lang.String rrfDir)
rrfDir
- the new rrf dirpublic java.lang.String getRrfFile()
public void setRrfFile(java.lang.String rrfFile)
rrfFile
- the new rrf file