Class CuFileReadHandle

java.lang.Object
ai.rapids.cudf.CuFileReadHandle
All Implemented Interfaces:
AutoCloseable

public final class CuFileReadHandle extends Object
Represents a cuFile file handle for reading.
  • Constructor Details

    • CuFileReadHandle

      public CuFileReadHandle(String path)
      Construct a reader using the specified file path.
      Parameters:
      path - The file path for reading.
  • Method Details

    • read

      public void read(CuFileBuffer buffer, long fileOffset)
      Read the file content into the specified cuFile buffer.
      Parameters:
      buffer - The cuFile buffer to store the content.
      fileOffset - The file offset from which to read.
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getPointer

      protected long getPointer()