Christophe Taton 2013-04-15, 18:23
Doug Cutting 2013-04-15, 20:08
Scott Carey 2013-04-15, 19:46
Christophe Taton 2013-04-15, 21:21
Doug Cutting 2013-04-15, 22:43
On Mon, Apr 15, 2013 at 3:43 PM, Doug Cutting <[EMAIL PROTECTED]> wrote:
> I think GenericRecordBuilder could be used to build specific records
> with a few additional changes:
> - change the type of the 'record' field from GenericData.Record to
> - replace the call to 'new GenericData.Record()' to
> '(GenericRecord)data().newRecord(null, schema())'
> - add a constructor that accepts a GenericData instance, instead of
> calling GenericData.get().
> Then you could use new GenericRecordBuilder(SpecificData.get(),
> schema) to create specific records.
Symmetrically, do you think it's possible to have SpecificRecord builders
Doug Cutting 2013-04-22, 20:19
Scott Carey 2013-04-16, 04:19
Christophe Taton 2013-04-16, 04:39
Christophe Taton 2013-04-17, 05:30
Pankaj Shroff 2013-04-17, 14:16