public class KeyValuesFromKeyValue extends Object implements KeyValuesAdapter
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.tez.runtime.library.api.KeyValueReader |
reader |
protected org.apache.hadoop.hive.ql.exec.tez.KeyValuesFromKeyValue.ValueIterator<Object> |
valueIterator |
| Constructor and Description |
|---|
KeyValuesFromKeyValue(org.apache.tez.runtime.library.api.KeyValueReader 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
|
protected org.apache.tez.runtime.library.api.KeyValueReader reader
protected org.apache.hadoop.hive.ql.exec.tez.KeyValuesFromKeyValue.ValueIterator<Object> valueIterator
public KeyValuesFromKeyValue(org.apache.tez.runtime.library.api.KeyValueReader 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.