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
IOException
public abstract boolean readKeyValue() throws IOException
IOException
public abstract K getCurrentKey() throws IOException
IOException
public abstract V getCurrentValue() throws IOException
IOException
public abstract String getLastOutput()
Copyright © 2009 The Apache Software Foundation