KeyOnlyTextOutputReader, RawBytesOutputReader, TextOutputReader, TypedBytesOutputReaderpublic abstract class OutputReader<K,V>
extends java.lang.Object
| Constructor | Description |
|---|---|
OutputReader() |
| Modifier and Type | Method | 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.IOExceptionpublic abstract boolean readKeyValue()
throws java.io.IOException
java.io.IOExceptionpublic abstract K getCurrentKey() throws java.io.IOException
java.io.IOExceptionpublic abstract V getCurrentValue() throws java.io.IOException
java.io.IOExceptionpublic abstract java.lang.String getLastOutput()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.