public abstract class OutputReader<K,V> extends Object
Constructor and Description |
---|
OutputReader() |
Modifier and Type | Method and Description |
---|---|
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 © 2013 Apache Software Foundation. All rights reserved.