You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2016/01/08 20:18:39 UTC

[jira] [Commented] (METAMODEL-226) Getting raw JSON value from NoSQL DataSets

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

Kasper Sørensen commented on METAMODEL-226:
-------------------------------------------

I guess the straight-forward thing would be to create a new sub-interface for Row which exposes the underlying document somehow. But thinking about it further, the need expands beyond rows and documents.

Maybe we should even consider something like the method signature
{code}
T unwrap(Class<T> cls)
{code}
which is employed by (at least) JDBC and JPA.

> Getting raw JSON value from NoSQL DataSets
> ------------------------------------------
>
>                 Key: METAMODEL-226
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-226
>             Project: Apache MetaModel
>          Issue Type: Improvement
>            Reporter: Radhakrishna Bhat
>
> When using MongoDB DataSet, currently there is no API exposed to just get the raw JSON value either from DataSet or it's Rows. Would be nice to have that API for NoSQL DataSet or Row of Mongo and ElasticSearch.



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