|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ItemWriter
ItemWriter defines the batch artifact that writes to a list of items for chunk processing.
| Method Summary | |
|---|---|
java.io.Serializable |
checkpointInfo()
The checkpointInfo method returns the current checkpoint data for this writer. |
void |
close()
The close method marks the end of use of the ItemWriter. |
void |
open(java.io.Serializable checkpoint)
The open method prepares the writer to write items. |
void |
writeItems(java.util.List<java.lang.Object> items)
The writeItems method writes a list of item for the current chunk. |
| Method Detail |
|---|
void open(java.io.Serializable checkpoint)
throws java.lang.Exception
checkpoint - specifies the last checkpoint
java.lang.Exception - is thrown for any errors.
void close()
throws java.lang.Exception
java.lang.Exception - is thrown for any errors.
void writeItems(java.util.List<java.lang.Object> items)
throws java.lang.Exception
items - specifies the list of items to write.
java.lang.Exception - is thrown for any errors.
java.io.Serializable checkpointInfo()
throws java.lang.Exception
java.lang.Exception - is thrown for any errors.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||