|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.streaming.io.OutputReader<BytesWritable,BytesWritable> org.apache.hadoop.streaming.io.RawBytesOutputReader
public class RawBytesOutputReader
OutputReader that reads the client's output as raw bytes.
Constructor Summary | |
---|---|
RawBytesOutputReader()
|
Method Summary | |
---|---|
BytesWritable |
getCurrentKey()
Returns the current key. |
BytesWritable |
getCurrentValue()
Returns the current value. |
String |
getLastOutput()
Returns the last output from the client as a String. |
void |
initialize(PipeMapRed pipeMapRed)
Initializes the OutputReader. |
boolean |
readKeyValue()
Read the next key/value pair outputted by the client. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RawBytesOutputReader()
Method Detail |
---|
public void initialize(PipeMapRed pipeMapRed) throws IOException
OutputReader
initialize
in class OutputReader<BytesWritable,BytesWritable>
IOException
public boolean readKeyValue() throws IOException
OutputReader
readKeyValue
in class OutputReader<BytesWritable,BytesWritable>
IOException
public BytesWritable getCurrentKey() throws IOException
OutputReader
getCurrentKey
in class OutputReader<BytesWritable,BytesWritable>
IOException
public BytesWritable getCurrentValue() throws IOException
OutputReader
getCurrentValue
in class OutputReader<BytesWritable,BytesWritable>
IOException
public String getLastOutput()
OutputReader
getLastOutput
in class OutputReader<BytesWritable,BytesWritable>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |