Class CsvReader

java.lang.Object
org.gridgain.internal.sql.copy.csv.CsvReader
All Implemented Interfaces:
AutoCloseable, Reader

public class CsvReader extends Object implements Reader
A reader that parses CSV file.
  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext()
      Description copied from interface: Reader
      Returns true if the reader has more rows to read.
      Specified by:
      hasNext in interface Reader
      Returns:
      true if there is more data to read.
    • next

      public List<?> next()
      Description copied from interface: Reader
      Returns the next row of data.
      Specified by:
      next in interface Reader
    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception