avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohini Uppuluri <roh...@glassdoor.com>
Subject Importing Java class in Avro IDL
Date Tue, 13 May 2014 17:27:28 GMT

I am looking to using avro serialization for our data. I see that we can import avro idl within
another idl file.
I was wondering if there was a way we could import java object as I have a use case for the

For example:

Class B has:
  String element1;
  A a;


And A is in another project.
Class A {
    String elem1;
   String elem2;
   int id;

I am trying to definite avro schema for B.  A is from a totally different project that does
not use avro.

I could do it after code generation but I was wondering if there was any other way to do it.


View raw message