Package ai.rapids.cudf
Class CuFileReadHandle
java.lang.Object
ai.rapids.cudf.CuFileReadHandle
- All Implemented Interfaces:
AutoCloseable
Represents a cuFile file handle for reading.
-
Constructor Summary
ConstructorsConstructorDescriptionCuFileReadHandle(String path) Construct a reader using the specified file path. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected longvoidread(CuFileBuffer buffer, long fileOffset) Read the file content into the specified cuFile buffer.
-
Constructor Details
-
CuFileReadHandle
Construct a reader using the specified file path.- Parameters:
path- The file path for reading.
-
-
Method Details
-
read
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:
closein interfaceAutoCloseable
-
getPointer
protected long getPointer()
-