public abstract class OutputReader<K,V> extends Object
| 构造器和说明 |
|---|
OutputReader() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract K |
getCurrentKey()
Returns the current key.
|
abstract V |
getCurrentValue()
Returns the current value.
|
abstract String |
getLastOutput()
Returns the last output from the client as a String.
|
void |
initialize(PipeMapRed pipeMapRed)
Initializes the OutputReader.
|
abstract boolean |
readKeyValue()
Read the next key/value pair outputted by the client.
|
public void initialize(PipeMapRed pipeMapRed) throws IOException
IOExceptionpublic abstract boolean readKeyValue()
throws IOException
IOExceptionpublic abstract K getCurrentKey() throws IOException
IOExceptionpublic abstract V getCurrentValue() throws IOException
IOExceptionpublic abstract String getLastOutput()
Copyright © 2009 The Apache Software Foundation