public class KeyValuesFromKeyValues extends Object implements KeyValuesAdapter
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.tez.runtime.library.api.KeyValuesReader |
reader |
| Constructor and Description |
|---|
KeyValuesFromKeyValues(org.apache.tez.runtime.library.api.KeyValuesReader reader) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCurrentKey()
Get the key for current record
|
Iterable<Object> |
getCurrentValues()
Get the values for the current record
|
boolean |
next()
Move to the next record
|
public KeyValuesFromKeyValues(org.apache.tez.runtime.library.api.KeyValuesReader reader)
public Object getCurrentKey() throws IOException
KeyValuesAdaptergetCurrentKey in interface KeyValuesAdapterIOExceptionpublic Iterable<Object> getCurrentValues() throws IOException
KeyValuesAdaptergetCurrentValues in interface KeyValuesAdapterIOExceptionpublic boolean next()
throws IOException
KeyValuesAdapternext in interface KeyValuesAdapterIOExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.