Return-Path: X-Original-To: apmail-metamodel-dev-archive@minotaur.apache.org Delivered-To: apmail-metamodel-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A56F181D3 for ; Fri, 8 Jan 2016 19:18:40 +0000 (UTC) Received: (qmail 81902 invoked by uid 500); 8 Jan 2016 19:18:40 -0000 Delivered-To: apmail-metamodel-dev-archive@metamodel.apache.org Received: (qmail 81873 invoked by uid 500); 8 Jan 2016 19:18:40 -0000 Mailing-List: contact dev-help@metamodel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@metamodel.apache.org Delivered-To: mailing list dev@metamodel.apache.org Received: (qmail 81853 invoked by uid 99); 8 Jan 2016 19:18:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2016 19:18:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CD0462C0451 for ; Fri, 8 Jan 2016 19:18:39 +0000 (UTC) Date: Fri, 8 Jan 2016 19:18:39 +0000 (UTC) From: =?utf-8?Q?Kasper_S=C3=B8rensen_=28JIRA=29?= To: dev@metamodel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (METAMODEL-226) Getting raw JSON value from NoSQL DataSets MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/METAMODEL-226?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1= 5089755#comment-15089755 ]=20 Kasper S=C3=B8rensen commented on METAMODEL-226: ------------------------------------------- I guess the straight-forward thing would be to create a new sub-interface f= or 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 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)