Class IcebergReader

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

public class IcebergReader extends Object implements Reader
A reader that reads an iceberg table.
  • Constructor Details

    • IcebergReader

      public IcebergReader(org.apache.ignite.internal.sql.engine.prepare.copy.CopyLocationPath location, Map<String,String> properties, List<String> locationColumns)
      Constructor.
  • 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