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<Pair<K,V>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public 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 © 2008–2017 The Apache Software Foundation. All rights reserved.