avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Zeyliger <phi...@cloudera.com>
Subject Re: Metadata in Java Schema class
Date Wed, 10 Feb 2010 15:55:58 GMT
Is Schema.getProp() what you're looking for?

-- Philip

On Wed, Feb 10, 2010 at 2:23 AM, Lars Francke <lars.francke@gmail.com>wrote:

> Hi,
> I've got a question about "metadata" in JSON schemas. According to the
> specification "Attributes not defined in this document are permitted
> as metadata, but must not affect the format of serialized data." What
> I'd like to know is if this metadata is somehow made available in the
> Schema (or Schema.Field) class. I had a look and I don't think so but
> perhaps I'm missing something.
> Is there any easy way to access this metadata and associate it with
> the correct Schema/Fields? If not would you object against a patch
> that extends the parse function to also save metadata and make it
> available?
> Cheers,
> Lars

View raw message