org.apache.tez.runtime.library.input
Class ConcatenatedMergedKeyValueInput.ConcatenatedMergedKeyValueReader
java.lang.Object
org.apache.tez.runtime.library.input.ConcatenatedMergedKeyValueInput.ConcatenatedMergedKeyValueReader
- All Implemented Interfaces:
- org.apache.tez.runtime.api.Reader, KeyValueReader
- Enclosing class:
- ConcatenatedMergedKeyValueInput
public class ConcatenatedMergedKeyValueInput.ConcatenatedMergedKeyValueReader
- extends Object
- implements KeyValueReader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcatenatedMergedKeyValueInput.ConcatenatedMergedKeyValueReader
public ConcatenatedMergedKeyValueInput.ConcatenatedMergedKeyValueReader()
next
public boolean next()
throws IOException
- Description copied from interface:
KeyValueReader
- Moves to the next key/values(s) pair
- Specified by:
next in interface KeyValueReader
- Returns:
- true if another key/value(s) pair exists, false if there are no more.
- Throws:
IOException - if an error occurs
getCurrentKey
public Object getCurrentKey()
throws IOException
- Description copied from interface:
KeyValueReader
- Returns the current key
- Specified by:
getCurrentKey in interface KeyValueReader
- Returns:
- the current key
- Throws:
IOException
getCurrentValue
public Object getCurrentValue()
throws IOException
- Description copied from interface:
KeyValueReader
- Returns the current value
- Specified by:
getCurrentValue in interface KeyValueReader
- Returns:
- the current value
- Throws:
IOException
Copyright © 2014 Apache Software Foundation. All rights reserved.