metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kasper Sørensen (JIRA) <>
Subject [jira] [Commented] (METAMODEL-92) ColumnNameAsKeysRowConverter should be able to traverse nested columns
Date Fri, 07 Nov 2014 20:48:35 GMT


Kasper Sørensen commented on METAMODEL-92:

Posted a suggestion for a fix, here:

Please review! :)

> ColumnNameAsKeysRowConverter should be able to traverse nested columns
> ----------------------------------------------------------------------
>                 Key: METAMODEL-92
>                 URL:
>             Project: Metamodel
>          Issue Type: Improvement
>    Affects Versions: 4.2.0-incubating
>            Reporter: Kasper Sørensen
>            Assignee: Kasper Sørensen
> In some modules we have rows/documents that can have nested objects. For instance in
the JSON module. Often these modules will use the ColumnNameAsKeysRowConverter class to extract
values from it's row/document objects into MetaModel's rows.
> It would be a big improvement if we allow the user to specify column names with a syntax
that allows them to denormalize their data and extract information even from nested objects.
For instance if you have this document:
> {
> "name":{ "first":"Joe", "last":"Sixpack" },
> "gender":"MALE",
> "verified":false,
> "userImage":"Rm9vYmFyIQ=="
> }
> Then a column with the name "name.first" should resolve "Joe" from this particular document.
I believe we have similar functionality in some of the NoSQL modules, so consider how we can
best reuse it.

This message was sent by Atlassian JIRA

View raw message