Modifier and Type | Field and Description |
---|---|
protected RawKeyValueIterator |
in |
protected org.apache.hadoop.util.Progressable |
reporter |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
KEY |
getKey()
The current key.
|
boolean |
hasNext() |
boolean |
more()
True iff more keys remain.
|
VALUE |
next() |
void |
nextKey()
Start processing next unique key.
|
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected RawKeyValueIterator in
protected org.apache.hadoop.util.Progressable reporter
public 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
IOException
public void nextKey() throws IOException
IOException
public boolean more()
public KEY getKey()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.