Patrick Linehan 2010-10-23, 01:38
Hm, this can't be done right now I think. In DataFileStream, the
metadata holding HashMap structure (which is populated upon
initialization itself) is not exposed out directly, only via some form
of query via keys.
We could add a patch to allow retrieving the entire metadata HashMap,
which can then be iterated upon if a user wants to. Or do we list out
the keys alone?
Opened a JIRA for this with a patch (exposing the map):
On Sat, Oct 23, 2010 at 7:08 AM, Patrick Linehan <[EMAIL PROTECTED]> wrote:
> is there a way to list the metadata fields present in a given file? the
> methods provided by DataFileReader only seem to allow for get-ing metadata
> with known names, not introspecting on the metadata in general.