Class CsvReader
java.lang.Object
org.gridgain.internal.sql.copy.csv.CsvReader
- All Implemented Interfaces:
AutoCloseable,Reader
A reader that parses CSV file.
-
Constructor Details
-
CsvReader
public CsvReader(org.apache.ignite.internal.sql.engine.prepare.copy.CopyLocationPath location, Map<String, String> properties, List<String> columns) throws IOExceptionConstructor.- Throws:
IOException
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from interface:ReaderReturnstrueif the reader has more rows to read. -
next
Description copied from interface:ReaderReturns the next row of data. -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-