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
KeyValuesAdapter
getCurrentKey
in interface KeyValuesAdapter
IOException
public Iterable<Object> getCurrentValues() throws IOException
KeyValuesAdapter
getCurrentValues
in interface KeyValuesAdapter
IOException
public boolean next() throws IOException
KeyValuesAdapter
next
in interface KeyValuesAdapter
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.