org.lexgrid.loader.rrf.staging.tasklet
Class LoadInfileMrconsoStagingTablePopulator

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.jdbc.core.support.JdbcDaoSupport
          extended by org.lexgrid.loader.rrf.staging.tasklet.LoadInfileMrconsoStagingTablePopulator
All Implemented Interfaces:
org.springframework.batch.core.step.tasklet.Tasklet, org.springframework.beans.factory.InitializingBean

public class LoadInfileMrconsoStagingTablePopulator
extends org.springframework.jdbc.core.support.JdbcDaoSupport
implements org.springframework.batch.core.step.tasklet.Tasklet

The Class LoadInfileMrconsoStagingTablePopulator.

Author:
Kevin Peterson

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
LoadInfileMrconsoStagingTablePopulator()
           
 
Method Summary
 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.
 
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadInfileMrconsoStagingTablePopulator

public LoadInfileMrconsoStagingTablePopulator()
Method Detail

populateStagingTable

protected void populateStagingTable()
                             throws java.lang.Exception
Populate staging table.

Throws:
java.lang.Exception - the exception

execute

public org.springframework.batch.repeat.RepeatStatus execute(org.springframework.batch.core.StepContribution contribution,
                                                             org.springframework.batch.core.scope.context.ChunkContext chunkContext)
                                                      throws java.lang.Exception
Specified by:
execute in interface org.springframework.batch.core.step.tasklet.Tasklet
Throws:
java.lang.Exception

getTableName

public java.lang.String getTableName()
Gets the table name.

Returns:
the table name

setTableName

public void setTableName(java.lang.String tableName)
Sets the table name.

Parameters:
tableName - the new table name

getRrfDir

public java.lang.String getRrfDir()
Gets the rrf dir.

Returns:
the rrf dir

setRrfDir

public void setRrfDir(java.lang.String rrfDir)
Sets the rrf dir.

Parameters:
rrfDir - the new rrf dir

getRrfFile

public java.lang.String getRrfFile()
Gets the rrf file.

Returns:
the rrf file

setRrfFile

public void setRrfFile(java.lang.String rrfFile)
Sets the rrf file.

Parameters:
rrfFile - the new rrf file

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.