public final class SequenceFileIterable<K extends org.apache.hadoop.io.Writable,V extends org.apache.hadoop.io.Writable> extends Object implements Iterable<eu.dnetlib.miscutils.collections.Pair<K,V>>
Iterable counterpart to SequenceFileIterator.
| Constructor and Description |
|---|
SequenceFileIterable(org.apache.hadoop.fs.Path path,
boolean reuseKeyValueInstances,
org.apache.hadoop.conf.Configuration conf) |
SequenceFileIterable(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
Like
SequenceFileIterable(Path, boolean, Configuration) but key and value instances are not reused by
default. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<eu.dnetlib.miscutils.collections.Pair<K,V>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SequenceFileIterable(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
SequenceFileIterable(Path, boolean, Configuration) but key and value instances are not reused by
default.path - file to iterate overpublic SequenceFileIterable(org.apache.hadoop.fs.Path path,
boolean reuseKeyValueInstances,
org.apache.hadoop.conf.Configuration conf)
path - file to iterate overreuseKeyValueInstances - if true, reuses instances of the key and value object instead of creating a new one for each read from
the fileCopyright © 2026. All rights reserved.