Package org.apache.flink.runtime.io.disk
Class FileBasedBufferIterator
java.lang.Object
org.apache.flink.runtime.io.disk.FileBasedBufferIterator
- All Implemented Interfaces:
AutoCloseable,Iterator<Buffer>,org.apache.flink.util.CloseableIterator<Buffer>
@Internal
public class FileBasedBufferIterator
extends Object
implements org.apache.flink.util.CloseableIterator<Buffer>
CloseableIterator of buffers over file content.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.util.CloseableIterator
org.apache.flink.util.CloseableIterator.IteratorAdapter<E extends Object> -
Field Summary
Fields inherited from interface org.apache.flink.util.CloseableIterator
EMPTY_INSTANCE -
Constructor Summary
ConstructorsConstructorDescriptionFileBasedBufferIterator(org.apache.flink.core.fs.RefCountedFile file, int bytesToRead, int bufferSize) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
FileBasedBufferIterator
public FileBasedBufferIterator(org.apache.flink.core.fs.RefCountedFile file, int bytesToRead, int bufferSize) throws FileNotFoundException - Throws:
FileNotFoundException
-
-
Method Details