public final class SequenceFileValueIterator<V extends org.apache.hadoop.io.Writable> extends com.google.common.collect.AbstractIterator<V> implements Closeable
Iterator over a SequenceFile's values only.
| Constructor and Description |
|---|
SequenceFileValueIterator(org.apache.hadoop.fs.Path path,
boolean reuseKeyValueInstances,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected V |
computeNext() |
Class<V> |
getValueClass() |
endOfData, hasNext, next, peekclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic SequenceFileValueIterator(org.apache.hadoop.fs.Path path,
boolean reuseKeyValueInstances,
org.apache.hadoop.conf.Configuration conf)
throws IOException
IOException - if path can't be read, or its key or value class can't be instantiatedpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.