You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Moustafa Aboul Atta (JIRA)" <ji...@apache.org> on 2014/06/29 15:24:24 UTC

[jira] [Created] (AVRO-1534) Generate shema from a Java object

Moustafa Aboul Atta created AVRO-1534:
-----------------------------------------

             Summary: Generate shema from a Java object
                 Key: AVRO-1534
                 URL: https://issues.apache.org/jira/browse/AVRO-1534
             Project: Avro
          Issue Type: New Feature
          Components: java
            Reporter: Moustafa Aboul Atta


Instead of having to provide an already compiled schema, there should be the ability to generate the schema from a java object. 
That is because in some case, providing the schema is not posssible  (e.g: the class of that Java Object has some members whose types are external java classes in external libraries or simply the Object is too complex).

Example of how it would be:
{{Shema schema = new Schema.Parser.parse(T);}}

Microsoft already implemented this feature in its Avro library for .NET so I was surprised that it wasn't already implemented. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)