org.apache.hadoop.mapred
Class Task.CombineValuesIterator<KEY,VALUE>
java.lang.Object
org.apache.hadoop.mapred.Task.CombineValuesIterator<KEY,VALUE>
- All Implemented Interfaces:
- Iterator<VALUE>
- Enclosing class:
- Task
@InterfaceAudience.Private
@InterfaceStability.Unstable
public static class Task.CombineValuesIterator<KEY,VALUE>
- extends Object
Iterator to return Combined values
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
protected RawKeyValueIterator in
reporter
protected org.apache.hadoop.util.Progressable reporter
Task.CombineValuesIterator
public Task.CombineValuesIterator(RawKeyValueIterator in,
org.apache.hadoop.io.RawComparator<KEY> comparator,
Class<KEY> keyClass,
Class<VALUE> valClass,
org.apache.hadoop.conf.Configuration conf,
Reporter reporter,
Counters.Counter combineInputCounter)
throws IOException
- Throws:
IOException
next
public VALUE next()
- Specified by:
next
in interface Iterator<VALUE>
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<VALUE>
remove
public void remove()
- Specified by:
remove
in interface Iterator<VALUE>
nextKey
public void nextKey()
throws IOException
- Start processing next unique key.
- Throws:
IOException
more
public boolean more()
- True iff more keys remain.
getKey
public KEY getKey()
- The current key.
Copyright © 2012 Apache Software Foundation. All Rights Reserved.