public class TextOutputReader extends OutputReader<Text,Text>
| Constructor and Description |
|---|
TextOutputReader() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void initialize(PipeMapRed pipeMapRed) throws IOException
OutputReaderinitialize in class OutputReader<Text,Text>IOExceptionpublic boolean readKeyValue()
throws IOException
OutputReaderreadKeyValue in class OutputReader<Text,Text>IOExceptionpublic Text getCurrentKey() throws IOException
OutputReadergetCurrentKey in class OutputReader<Text,Text>IOExceptionpublic Text getCurrentValue() throws IOException
OutputReadergetCurrentValue in class OutputReader<Text,Text>IOExceptionpublic String getLastOutput()
OutputReadergetLastOutput in class OutputReader<Text,Text>Copyright © 2018 CERN. All Rights Reserved.