avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Blue (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-457) add tools that read/write xml records from/to avro data files
Date Wed, 20 Jan 2016 17:17:39 GMT

    [ https://issues.apache.org/jira/browse/AVRO-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15108966#comment-15108966
] 

Ryan Blue commented on AVRO-457:
--------------------------------

[~beligum], it may be easier than going through a JSON schema. Avro's reflect support will
analyze Java classes to produce Avro schemas and can also serialize instances of those classes.
You may not need to use JSON at all, just try {{ReflectData.get().getSchema(MyXMLObject.class)}}.

> add tools that read/write xml records from/to avro data files
> -------------------------------------------------------------
>
>                 Key: AVRO-457
>                 URL: https://issues.apache.org/jira/browse/AVRO-457
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>    Affects Versions: 1.7.8
>            Reporter: Doug Cutting
>              Labels: gsoc
>         Attachments: AVRO-457.patch, AVRO-457.patch, AVRO-457.patch, AVRO-457.patch,
ebucore.json
>
>
> It might be useful to have command-line tools that can read & write arbitrary XML
data from & to Avro data files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message