@InterfaceAudience.Private public class ValuesIterator<KEY,VALUE> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected TezRawKeyValueIterator |
in |
| Constructor and Description |
|---|
ValuesIterator(TezRawKeyValueIterator in,
org.apache.hadoop.io.RawComparator<KEY> comparator,
Class<KEY> keyClass,
Class<VALUE> valClass,
org.apache.hadoop.conf.Configuration conf,
org.apache.tez.common.counters.TezCounter inputKeyCounter,
org.apache.tez.common.counters.TezCounter inputValueCounter) |
| Modifier and Type | Method and Description |
|---|---|
KEY |
getKey()
The current key.
|
Iterable<VALUE> |
getValues() |
protected void |
hasCompletedProcessing()
Check whether processing has been completed.
|
boolean |
moveToNext()
Move to the next K-Vs pair
|
protected TezRawKeyValueIterator in
public ValuesIterator(TezRawKeyValueIterator in, org.apache.hadoop.io.RawComparator<KEY> comparator, Class<KEY> keyClass, Class<VALUE> valClass, org.apache.hadoop.conf.Configuration conf, org.apache.tez.common.counters.TezCounter inputKeyCounter, org.apache.tez.common.counters.TezCounter inputValueCounter) throws IOException
IOExceptionpublic boolean moveToNext()
throws IOException
IOExceptionpublic KEY getKey()
protected void hasCompletedProcessing()
throws IOException
IOExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.