Tool to induce schema using reflection
--------------------------------------

                 Key: AVRO-154
                 URL: https://issues.apache.org/jira/browse/AVRO-154
             Project: Avro
          Issue Type: New Feature
            Reporter: Philip Zeyliger
            Assignee: Philip Zeyliger


Patch that follows gives command-line access to ReflectData's getSchema() API, 
which creates an AVRO schema based on reflection.

Here's an example:

{noformat}
   $ src/scripts/avroj.sh induce build/test/classes org.apache.avro.BarRecord
    
{"type":"record","name":"BarRecord","namespace":"org.apache.avro","fields":[{"name":"beerMsg","type":"string"}]}
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to