org.apache.tez.runtime.library.input
Class ConcatenatedMergedKeyValueInput.ConcatenatedMergedKeyValueReader

java.lang.Object
  extended by 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


Constructor Summary
ConcatenatedMergedKeyValueInput.ConcatenatedMergedKeyValueReader()
           
 
Method Summary
 Object getCurrentKey()
          Returns the current key
 Object getCurrentValue()
          Returns the current value
 boolean next()
          Moves to the next key/values(s) pair
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcatenatedMergedKeyValueInput.ConcatenatedMergedKeyValueReader

public ConcatenatedMergedKeyValueInput.ConcatenatedMergedKeyValueReader()
Method Detail

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.