|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ItemWriter<T>
| Method Summary | |
|---|---|
Serializable |
checkpointInfo()
The checkpointInfo method returns the current checkpoint position for this writer. |
void |
close()
The close method marks the end of use of the item stream. |
void |
open(Serializable checkpoint)
The open method prepare the writer to write items. |
void |
writeItems(List<T> items)
The writeItems method writes a list of item for the current chunk to the item writer stream. |
| 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<T> 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 | ||||||||||