|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ItemReader
ItemReader defines the batch artifact that reads items for chunk processing.
| Method Summary | |
|---|---|
java.io.Serializable |
checkpointInfo()
The checkpointInfo method returns the current checkpoint data for this reader. |
void |
close()
The close method marks the end of use of the ItemReader. |
void |
open(java.io.Serializable checkpoint)
The open method prepares the reader to read items. |
java.lang.Object |
readItem()
The readItem method returns the next item for chunk processing. |
| 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.
java.lang.Object readItem()
throws java.lang.Exception
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 | ||||||||||