| 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, waitforEachRemainingprotected 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
IOExceptionpublic void nextKey()
throws IOException
IOExceptionpublic boolean more()
public KEY getKey()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.