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 - IOExceptionpublic FSArrayFile.ArrayFileIterator(String filename, FixedSizeWriteableFactory<V> _valueFactory) throws IOException
filename - _valueFactory - IOExceptionpublic void skip(int numEntries)
throws IOException
skip in interface SkipablenumEntries - 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 Closeableclose in interface AutoCloseableTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow