public class CSVIterator extends BufferedStreamIterator<CSVRow> implements DataIterator<CSVRow>
| Constructor and Description |
|---|
CSVIterator(BufferedReader reader,
CSVSettings csvSettings,
ColumnSettings columnSettings) |
| Modifier and Type | Method and Description |
|---|---|
List<ColumnInformation> |
getColumnsInformation() |
protected CSVRow |
getNext()
Reads the csv input stream and returns a csv row
|
void |
initHeader()
Reads and created the csv header
|
Iterator<CSVRow> |
iterator() |
CSVRow |
next()
Returns the next row.
|
DataFrameBuilder |
toDataFrame()
Deprecated.
|
close, getLine, hasNext, loadNext, remove, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, hasNext, removeforEach, spliteratorpublic CSVIterator(BufferedReader reader, CSVSettings csvSettings, ColumnSettings columnSettings)
@Deprecated public DataFrameBuilder toDataFrame()
DataFrame.fromCSV(java.io.File, char, boolean) or DataFrame.load(java.io.File) instead.DataFrameBuilderpublic void initHeader()
public CSVRow next()
BufferedStreamIteratorprotected CSVRow getNext()
getNext in class BufferedStreamIterator<CSVRow>public List<ColumnInformation> getColumnsInformation()
getColumnsInformation in interface DataIterator<CSVRow>Copyright © 2020. All rights reserved.