public class RawBytesOutputReader extends OutputReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>
| Constructor | Description |
|---|---|
RawBytesOutputReader() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.io.BytesWritable |
getCurrentKey() |
Returns the current key.
|
org.apache.hadoop.io.BytesWritable |
getCurrentValue() |
Returns the current value.
|
java.lang.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.
|
public void initialize(PipeMapRed pipeMapRed) throws java.io.IOException
OutputReaderinitialize in class OutputReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>java.io.IOExceptionpublic boolean readKeyValue()
throws java.io.IOException
OutputReaderreadKeyValue in class OutputReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>java.io.IOExceptionpublic org.apache.hadoop.io.BytesWritable getCurrentKey()
throws java.io.IOException
OutputReadergetCurrentKey in class OutputReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>java.io.IOExceptionpublic org.apache.hadoop.io.BytesWritable getCurrentValue()
throws java.io.IOException
OutputReadergetCurrentValue in class OutputReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>java.io.IOExceptionpublic java.lang.String getLastOutput()
OutputReadergetLastOutput in class OutputReader<org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.BytesWritable>Copyright © 2008–2025 Apache Software Foundation. All rights reserved.