public interface ItemReader
Modifier and Type | Method and Description |
---|---|
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.
|
void open(Serializable checkpoint) throws Exception
checkpoint
- specifies the last checkpointException
- 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.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.