public interface ItemReader
| Modifier and Type | Method and Description |
|---|---|
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.
|
void open(java.io.Serializable checkpoint) throws java.lang.Exception
checkpoint - specifies the last checkpointjava.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.