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

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


+
yimca 2013-01-21, 14:14
+
robturner 2013-01-21, 22:29
+
yimca 2013-01-22, 18:34
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