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
IOException
public void writeObject(Object o) throws IOException
IOException
public int getDataLength()
public void writeTo(DataOutput str) throws IOException
IOException
Jas4pp 1.5 © Java Analysis Studio for Particle Physics