You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Arun Ramakrishnan <si...@gmail.com> on 2011/06/24 01:30:04 UTC

is there a more succinct way to specify this ?

I have a    ClassA extends SpecificRecordBase

is there an shorter/succinct way to do this

   new DataFileWriter<SpecificRecord>(new
SpecificDatumWriter<SpecificRecord>()).setCodec(CodecFactory.snappyCodec()).create(ClassA.getSchema(),
new File("../data/oye.txt"));