public interface RecordReader
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the reader.
|
String |
getDataSourceName()
This method returns a human readable data source name to be shown in the batch report.
|
Long |
getTotalRecords()
Get the total record number in the data source.
|
boolean |
hasNextRecord()
Check if the reader has a next record.
|
void |
open()
Open the reader.
|
Record |
readNextRecord()
Read next record from the data source.
|
void open()
throws RecordReaderOpeningException
RecordReaderOpeningException - thrown if an exception occurs during reader openingboolean hasNextRecord()
Record readNextRecord() throws RecordReadingException
RecordReadingException - thrown if an exception occurs during reading next recordLong getTotalRecords()
String getDataSourceName()
void close()
throws RecordReaderClosingException
RecordReaderClosingException - thrown if an exception occurs during reader closingCopyright © 2015. All Rights Reserved.