public class RawBytesOutputReader extends OutputReader<BytesWritable,BytesWritable>
构造器和说明 |
---|
RawBytesOutputReader() |
限定符和类型 | 方法和说明 |
---|---|
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.
|
public void initialize(PipeMapRed pipeMapRed) throws IOException
OutputReader
initialize
在类中 OutputReader<BytesWritable,BytesWritable>
IOException
public boolean readKeyValue() throws IOException
OutputReader
readKeyValue
在类中 OutputReader<BytesWritable,BytesWritable>
IOException
public BytesWritable getCurrentKey() throws IOException
OutputReader
getCurrentKey
在类中 OutputReader<BytesWritable,BytesWritable>
IOException
public BytesWritable getCurrentValue() throws IOException
OutputReader
getCurrentValue
在类中 OutputReader<BytesWritable,BytesWritable>
IOException
public String getLastOutput()
OutputReader
getLastOutput
在类中 OutputReader<BytesWritable,BytesWritable>
Copyright © 2009 The Apache Software Foundation