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 118931828E for ; Sat, 28 Nov 2015 08:40:10 +0000 (UTC) Received: (qmail 75878 invoked by uid 500); 28 Nov 2015 08:40:09 -0000 Delivered-To: apmail-metamodel-dev-archive@metamodel.apache.org Received: (qmail 75842 invoked by uid 500); 28 Nov 2015 08:40:09 -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 75831 invoked by uid 99); 28 Nov 2015 08:40:09 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Nov 2015 08:40:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2B856DF9A3; Sat, 28 Nov 2015 08:40:09 +0000 (UTC) From: tomaszguzialek To: dev@metamodel.apache.org Reply-To: dev@metamodel.apache.org References: In-Reply-To: Subject: [GitHub] metamodel pull request: Neo4j module (query-only) Content-Type: text/plain Message-Id: <20151128084009.2B856DF9A3@git1-us-west.apache.org> Date: Sat, 28 Nov 2015 08:40:09 +0000 (UTC) Github user tomaszguzialek commented on a diff in the pull request: https://github.com/apache/metamodel/pull/69#discussion_r46077717 --- Diff: neo4j/src/main/java/org/apache/metamodel/neo4j/Neo4jDataSet.java --- @@ -0,0 +1,77 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.metamodel.neo4j; + +import org.apache.metamodel.data.AbstractDataSet; +import org.apache.metamodel.data.DefaultRow; +import org.apache.metamodel.data.Row; +import org.apache.metamodel.data.SimpleDataSetHeader; +import org.apache.metamodel.query.SelectItem; +import org.json.JSONArray; +import org.json.JSONException; +import org.json.JSONObject; + +final class Neo4jDataSet extends AbstractDataSet { + + private JSONObject _resultJSONObject; + private int _currentRowIndex; + private Row _row; + + public Neo4jDataSet(SelectItem[] selectItems, JSONObject resultJSONObject) { --- End diff -- Done: https://issues.apache.org/jira/browse/METAMODEL-208 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---