public class TypedBytesOutputReader extends OutputReader<TypedBytesWritable,TypedBytesWritable>
Constructor and Description |
---|
TypedBytesOutputReader() |
Modifier and Type | Method and Description |
---|---|
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.
|
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>
IOException
public String getLastOutput()
OutputReader
getLastOutput
in class OutputReader<TypedBytesWritable,TypedBytesWritable>
Copyright © 2013 Apache Software Foundation. All rights reserved.