Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro, mail # user - Serializing nested records


Copy link to this message
-
Re: Serializing nested records
Doug Cutting 2013-01-21, 22:04
On Mon, Jan 21, 2013 at 6:14 AM, yimca <[EMAIL PROTECTED]> wrote:
> How can I serialize a TransactionStatic?  Also, where did the "L" come from
> in "Lcom.wily..."?

The L means it's a Java array, i.e., TransactionStatic[].  Avro's
specific representation uses List to represent arrays.  (Look at the
generated code.)  If you instead use a ReflectDatumWriter then you
should be able to write TransactionStatic[] too.

Doug