Class BufferFileChannelReader
java.lang.Object
org.apache.flink.runtime.io.disk.iomanager.BufferFileChannelReader
Helper class to read
Buffers from files into objects.-
Method Summary
Modifier and TypeMethodDescriptionbooleanreadBufferFromFileChannel(Buffer buffer) Reads data from the object's file channel into the given buffer.
-
Method Details
-
readBufferFromFileChannel
Reads data from the object's file channel into the given buffer.- Parameters:
buffer- the buffer to read into- Returns:
- whether the end of the file has been reached (true) or not (false)
- Throws:
IOException
-