org.oedura.scavro
AvroWriter serializes a class that implements the AvroSerializeable trait and writes to the supplied OutputStream.
OutputStream
dataToWrite: Seq[MyOutputClass] = ... val writer = AvroWriter[MyOutputClass]("MyOutputFile.avro") writer.write(dataToWrite)
Type to be serialized
Output stream to write to
Writes the sequence of objects to the writer's OutputStream
AvroWriter serializes a class that implements the AvroSerializeable trait and writes to the supplied
OutputStream
.Type to be serialized