public class RecordWriter extends Object
| Constructor and Description |
|---|
RecordWriter(String key) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDataLength()
Returns the number of bytes in the data.
|
String |
getKey() |
ObjectOutputStream |
getObjectOutputStream() |
OutputStream |
getOutputStream() |
void |
writeObject(Object o) |
void |
writeTo(DataOutput str)
Writes the data out to the stream without re-allocating the buffer.
|
public RecordWriter(String key)
public String getKey()
public OutputStream getOutputStream()
public ObjectOutputStream getObjectOutputStream() throws IOException
IOExceptionpublic void writeObject(Object o) throws IOException
IOExceptionpublic int getDataLength()
public void writeTo(DataOutput str) throws IOException
IOExceptionDataMelt-1.5. http://jwork.org/dmelt/ ©