avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun Ramakrishnan <sinchronized.a...@gmail.com>
Subject is there a more succinct way to specify this ?
Date Thu, 23 Jun 2011 23:30:04 GMT
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"));

Mime
View raw message