public abstract class OutputReader<K,V>
extends java.lang.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 java.lang.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 java.io.IOException
java.io.IOException
public abstract boolean readKeyValue() throws java.io.IOException
java.io.IOException
public abstract K getCurrentKey() throws java.io.IOException
java.io.IOException
public abstract V getCurrentValue() throws java.io.IOException
java.io.IOException
public abstract java.lang.String getLastOutput()
Copyright © 2009 The Apache Software Foundation