|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.streaming.io.OutputReader<Text,Text> org.apache.hadoop.streaming.io.TextOutputReader
public class TextOutputReader
OutputReader that reads the client's output as text.
Constructor Summary | |
---|---|
TextOutputReader()
|
Method Summary | |
---|---|
Text |
getCurrentKey()
Returns the current key. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextOutputReader()
Method Detail |
---|
public void initialize(PipeMapRed pipeMapRed) throws IOException
OutputReader
initialize
in class OutputReader<Text,Text>
IOException
public boolean readKeyValue() throws IOException
OutputReader
readKeyValue
in class OutputReader<Text,Text>
IOException
public Text getCurrentKey() throws IOException
OutputReader
getCurrentKey
in class OutputReader<Text,Text>
IOException
public Text getCurrentValue() throws IOException
OutputReader
getCurrentValue
in class OutputReader<Text,Text>
IOException
public String getLastOutput()
OutputReader
getLastOutput
in class OutputReader<Text,Text>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |