Package org.apache.jute
Class RecordWriter
java.lang.Object
org.apache.jute.RecordWriter
Front-end for serializers. Also serves as a factory for serializers.
-
Constructor Summary
ConstructorsConstructorDescriptionRecordWriter
(OutputStream out, String format) Creates a new instance of RecordWriter. -
Method Summary
-
Constructor Details
-
RecordWriter
Creates a new instance of RecordWriter.- Parameters:
out
- Output stream where the records will be serializedformat
- Serialization format ("binary", "xml", or "csv")
-
-
Method Details
-
write
Serialize a record.- Parameters:
r
- record to be serialized- Throws:
IOException
-