Interface BufferFileReader
-
- All Superinterfaces:
FileIOChannel
- All Known Implementing Classes:
AsynchronousBufferFileReader
,SynchronousBufferFileReader
public interface BufferFileReader extends FileIOChannel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.io.disk.iomanager.FileIOChannel
FileIOChannel.Enumerator, FileIOChannel.ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasReachedEndOfFile()
void
readInto(Buffer buffer)
void
seekToPosition(long position)
-
Methods inherited from interface org.apache.flink.runtime.io.disk.iomanager.FileIOChannel
close, closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSize, isClosed
-
-
-
-
Method Detail
-
readInto
void readInto(Buffer buffer) throws IOException
- Throws:
IOException
-
seekToPosition
void seekToPosition(long position) throws IOException
- Throws:
IOException
-
hasReachedEndOfFile
boolean hasReachedEndOfFile()
-
-