|
|||||||||||
| 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 | |
|---|---|
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(Serializable checkpoint)
The open method prepares the writer to write items. |
void |
writeItems(List<Object> items)
The writeItems method writes a list of item for the current chunk. |
| Method Detail |
|---|
void open(Serializable checkpoint)
throws Exception
checkpoint - specifies the last checkpoint
Exception - is thrown for any errors.
void close()
throws Exception
Exception - is thrown for any errors.
void writeItems(List<Object> items)
throws Exception
items - specifies the list of items to write.
Exception - is thrown for any errors.
Serializable checkpointInfo()
throws Exception
Exception - is thrown for any errors.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
© Copyright IBM Corp. 2013
Licensed under the Apache License, Version 2.0