@Internal public class FileBasedBufferIterator extends Object implements CloseableIterator<Buffer>
CloseableIterator
of buffers
over file content.CloseableIterator.IteratorAdapter<E>
EMPTY_INSTANCE
Constructor and Description |
---|
FileBasedBufferIterator(RefCountedFile file,
int bytesToRead,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
Buffer |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adapterForIterator, adapterForIterator, empty, flatten, fromList, ofElement, ofElements
forEachRemaining, remove
public FileBasedBufferIterator(RefCountedFile file, int bytesToRead, int bufferSize) throws FileNotFoundException
FileNotFoundException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.