|
|||||||||||
| 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 | |
|---|---|
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(Serializable checkpoint)
The open method prepares the reader to read items. |
Object |
readItem()
The readItem method returns the next item for chunk processing. |
| 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.
Object readItem()
throws Exception
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