public final class SequenceFileValueIterable<V extends org.apache.hadoop.io.Writable> extends Object implements Iterable<V>
Iterable
counterpart to SequenceFileValueIterator
.
Constructor and Description |
---|
SequenceFileValueIterable(org.apache.hadoop.fs.Path path,
boolean reuseKeyValueInstances,
org.apache.hadoop.conf.Configuration conf) |
SequenceFileValueIterable(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
Like
SequenceFileValueIterable(Path, boolean, Configuration) but instances are not reused
by default. |
public SequenceFileValueIterable(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf)
SequenceFileValueIterable(Path, boolean, Configuration)
but instances are not reused
by default.path
- file to iterate overpublic SequenceFileValueIterable(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 value object instead of creating a new
one for each read from the fileCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.