public class RecordWriter
extends java.lang.Object
| Constructor and Description |
|---|
RecordWriter(java.lang.String key) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDataLength()
Returns the number of bytes in the data.
|
java.lang.String |
getKey() |
java.io.ObjectOutputStream |
getObjectOutputStream() |
java.io.OutputStream |
getOutputStream() |
void |
writeObject(java.lang.Object o) |
void |
writeTo(java.io.DataOutput str)
Writes the data out to the stream without re-allocating the buffer.
|
public java.lang.String getKey()
public java.io.OutputStream getOutputStream()
public java.io.ObjectOutputStream getObjectOutputStream()
throws java.io.IOException
java.io.IOExceptionpublic void writeObject(java.lang.Object o)
throws java.io.IOException
java.io.IOExceptionpublic int getDataLength()
public void writeTo(java.io.DataOutput str)
throws java.io.IOException
java.io.IOExceptionJHepSim. A part of HSTOOLS. version-1.2