public class TextOutputReader extends OutputReader<Text,Text>
| 构造器和说明 |
|---|
TextOutputReader() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 OutputReader<Text,Text>IOExceptionpublic boolean readKeyValue()
throws IOException
OutputReaderreadKeyValue 在类中 OutputReader<Text,Text>IOExceptionpublic Text getCurrentKey() throws IOException
OutputReadergetCurrentKey 在类中 OutputReader<Text,Text>IOExceptionpublic Text getCurrentValue() throws IOException
OutputReadergetCurrentValue 在类中 OutputReader<Text,Text>IOExceptionpublic String getLastOutput()
OutputReadergetLastOutput 在类中 OutputReader<Text,Text>Copyright © 2009 The Apache Software Foundation