Class DeletionVector.ParquetChunkedReader

java.lang.Object
ai.rapids.cudf.DeletionVector.ParquetChunkedReader
All Implemented Interfaces:
AutoCloseable
Enclosing class:
DeletionVector

public static class DeletionVector.ParquetChunkedReader extends Object implements AutoCloseable
  • Method Details

    • hasNext

      public boolean hasNext()
      Check if the given file has anything left to read.
      Returns:
      A boolean value indicating if there is more data to read from file.
    • readChunk

      public Table readChunk()
      Read a chunk of rows in the given Parquet file such that the returning data has total size does not exceed the given read limit. If the given file has no data, or all data has been read before by previous calls to this function, a null Table will be returned.
      Returns:
      A table of new rows reading from the given file.
    • close

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