|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.streaming.io.OutputReader<TypedBytesWritable,TypedBytesWritable>
org.apache.hadoop.streaming.io.TypedBytesOutputReader
public class TypedBytesOutputReader
OutputReader that reads the client's output as typed bytes.
| Constructor Summary | |
|---|---|
TypedBytesOutputReader()
|
|
| Method Summary | |
|---|---|
TypedBytesWritable |
getCurrentKey()
Returns the current key. |
TypedBytesWritable |
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 TypedBytesOutputReader()
| Method Detail |
|---|
public void initialize(PipeMapRed pipeMapRed)
throws IOException
OutputReader
initialize in class OutputReader<TypedBytesWritable,TypedBytesWritable>IOException
public boolean readKeyValue()
throws IOException
OutputReader
readKeyValue in class OutputReader<TypedBytesWritable,TypedBytesWritable>IOException
public TypedBytesWritable getCurrentKey()
throws IOException
OutputReader
getCurrentKey in class OutputReader<TypedBytesWritable,TypedBytesWritable>IOException
public TypedBytesWritable getCurrentValue()
throws IOException
OutputReader
getCurrentValue in class OutputReader<TypedBytesWritable,TypedBytesWritable>IOExceptionpublic String getLastOutput()
OutputReader
getLastOutput in class OutputReader<TypedBytesWritable,TypedBytesWritable>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||