de.hpi.fgis.dude.datasource
Class CSVSource.CSVSourceIterator
java.lang.Object
de.hpi.fgis.dude.util.AbstractIterator<DuDeObject>
de.hpi.fgis.dude.datasource.AbstractDataSource.AbstractDataSourceIterator<CSVSource>
de.hpi.fgis.dude.datasource.CSVSource.CSVSourceIterator
- All Implemented Interfaces:
- Iterator<DuDeObject>
- Enclosing class:
- CSVSource
protected class CSVSource.CSVSourceIterator
- extends AbstractDataSource.AbstractDataSourceIterator<CSVSource>
CSVSourceIterator
is used for generating DuDeObject
s out of CSVSource
s.
- Author:
- Ziawasch Abedjan, Matthias Pohl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSVSource.CSVSourceIterator
protected CSVSource.CSVSourceIterator(CSVSource source)
- Initializes a
CSVSourceIterator
using the passed CSVSource
.
- Parameters:
source
- The source of which the data shall be extracted.
loadNextRecord
protected JsonRecord loadNextRecord()
throws ExtractionFailedException
- Description copied from class:
AbstractDataSource.AbstractDataSourceIterator
- Returns the data of the next object. This method will be called within
AbstractDataSource.AbstractDataSourceIterator.loadNextElement()
.
- Specified by:
loadNextRecord
in class AbstractDataSource.AbstractDataSourceIterator<CSVSource>
- Returns:
- The data record of the next object.
- Throws:
ExtractionFailedException
- If an error occurs while extracting the data.
Copyright © 2011 Hasso Plattner Institute - Chair of Information Systems. All Rights Reserved.