public interface RecordWriter
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the output stream.
|
void |
flush()
Flushes the output stream.
|
void |
write(Object record)
Writes a record object to this output stream.
|
void write(Object record) throws IOException
record - the record object to writeIOException - if an I/O error occurs writing the record to the streamvoid flush()
throws IOException
IOException - if an I/O error occurs flushing the streamvoid close()
throws IOException
IOException - if an I/O error occurs closing the stream