类 StagingItemWriter<T>

    • 字段概要

      字段 
      修饰符和类型字段说明
      protected static java.lang.StringDONE 
      protected static java.lang.StringNEW 
      • 从类继承的字段 org.springframework.dao.support.DaoSupport

        logger
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      ExitStatusafterStep​(StepExecution stepExecution)
      Give a listener a chance to modify the exit status from a step.
      voidbeforeStep​(StepExecution stepExecution)
      Initialize the state of the listener with the StepExecution from the current scope.
      protected voidinitDao()
      Check mandatory properties.
      voidsetIncrementer​(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer incrementer)
      Setter for the key generator for the staging table.
      voidwrite​(java.util.List<? extends T> items)
      Serialize the item to the staging table, and add a NEW processed flag.
      • 从类继承的方法 org.springframework.jdbc.core.support.JdbcDaoSupport

        checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate
      • 从类继承的方法 org.springframework.dao.support.DaoSupport

        afterPropertiesSet
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • initDao

        protected void initDao()
                        throws java.lang.Exception
        Check mandatory properties.
        覆盖:
        initDao 在类中 org.springframework.dao.support.DaoSupport
        抛出:
        java.lang.Exception
        另请参阅:
        DaoSupport.initDao()
      • setIncrementer

        public void setIncrementer​(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer incrementer)
        Setter for the key generator for the staging table.
        参数:
        incrementer - the DataFieldMaxValueIncrementer to set