com.poscoict.glueframework.batch.item
Class GlueJdbcBatchItemWriter<T>
java.lang.Object
org.springframework.batch.item.database.JdbcBatchItemWriter<T>
com.poscoict.glueframework.batch.item.GlueJdbcBatchItemWriter<T>
- All Implemented Interfaces:
- org.springframework.batch.item.ItemWriter<T>, org.springframework.beans.factory.InitializingBean
public class GlueJdbcBatchItemWriter<T>
- extends org.springframework.batch.item.database.JdbcBatchItemWriter<T>
JdbcBatchItemWriter È®Àå.
Bean Property
- dataSource : (Çʼö)
- queryId : (Çʼö) named query
- queryManager : (Çʼö)
- assertUpdates : (¼±ÅÃ)
default : true
- namedParameterJdbcTemplate : (¼±ÅÃ)
- itemPreparedStatementSetter : (¼±ÅÃ) '?' »ç¿ë½Ã Á¤ÀÇ
- itemSqlParameterSourceProvider : (¼±ÅÃ) named parameters »ç¿ë½Ã Á¤ÀÇ
¿¹Á¦
»ç¿ë ¿¹# 1
Âü°í : {name}-query.glue_sql
Fields inherited from class org.springframework.batch.item.database.JdbcBatchItemWriter |
logger |
Methods inherited from class org.springframework.batch.item.database.JdbcBatchItemWriter |
setAssertUpdates, setDataSource, setItemPreparedStatementSetter, setItemSqlParameterSourceProvider, setJdbcTemplate, setSql, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlueJdbcBatchItemWriter
public GlueJdbcBatchItemWriter()
setQueryManager
public void setQueryManager(GlueQueryManager queryManager)
- setter method for DI.
- Parameters:
queryManager
-
setQueryId
public void setQueryId(String queryId)
- setter method for DI.
- Parameters:
queryId
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in class org.springframework.batch.item.database.JdbcBatchItemWriter<T>
Copyright © 2013–2018 POSCO ICT. All rights reserved.