public class TextOutputReader extends OutputReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
| Constructor and Description |
|---|
TextOutputReader() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.io.Text |
getCurrentKey()
Returns the current key.
|
org.apache.hadoop.io.Text |
getCurrentValue()
Returns the current value.
|
String |
getLastOutput()
Returns the last output from the client as a String.
|
void |
initialize(PipeMapRed pipeMapRed)
Initializes the OutputReader.
|
boolean |
readKeyValue()
Read the next key/value pair outputted by the client.
|
public void initialize(PipeMapRed pipeMapRed) throws IOException
OutputReaderinitialize in class OutputReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>IOExceptionpublic boolean readKeyValue()
throws IOException
OutputReaderreadKeyValue in class OutputReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>IOExceptionpublic org.apache.hadoop.io.Text getCurrentKey()
throws IOException
OutputReadergetCurrentKey in class OutputReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>IOExceptionpublic org.apache.hadoop.io.Text getCurrentValue()
throws IOException
OutputReadergetCurrentValue in class OutputReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>IOExceptionpublic String getLastOutput()
OutputReadergetLastOutput in class OutputReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>Copyright © 2014 Apache Software Foundation. All Rights Reserved.