V
- public static class FSArrayFile.ArrayFileIterator<V extends org.apache.hadoop.io.Writable> extends Object implements Iterator<V>, Closeable, Skipable
Constructor and Description |
---|
FSArrayFile.ArrayFileIterator(IndexOnDisk index,
String structureName)
constructor
|
FSArrayFile.ArrayFileIterator(String filename,
FixedSizeWriteableFactory<V> _valueFactory)
constructor
|
public FSArrayFile.ArrayFileIterator(IndexOnDisk index, String structureName) throws IOException
index
- structureName
- IOException
public FSArrayFile.ArrayFileIterator(String filename, FixedSizeWriteableFactory<V> _valueFactory) throws IOException
filename
- _valueFactory
- IOException
public void skip(int numEntries) throws IOException
skip
in interface Skipable
numEntries
- number of entries to skipIOException
- if an IO problem occurs.public boolean hasNext()
public V next()
public void remove()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow