{"action":"created","comment":{"url":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/comments/46011869","id":46011869,"diff_hunk":"@@ -0,0 +1,61 @@\n+/**\n+ * Copyright (c) 2002-2015 \"Neo Technology,\"\n+ * Network Engine for Objects in Lund AB [http://neotechnology.com]\n+ *\n+ * This file is part of Neo4j.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package org.neo4j.driver.v1;\n+\n+/**\n+ * A record view provides access to an ordered, finite collection of zero or more fields.\n+ *\n+ * A field is a pair of a string key and a value.\n+ *\n+ * A record view must not contain multiple fields with the same key.\n+ */\n+public interface RecordView\n+{\n+    /**\n+     * @return an ordered sequence of all field's keys\n+     */\n+    Iterable<String> keys();\n+\n+    /**\n+     * Retrieve the value of the field that has the given key\n+     *\n+     * @param key the field's key\n+     * @return the field's value or null if this record view does not contain a field with the given key\n+     */\n+    Value value( String key );\n+\n+    /**\n+     * @return the number of fields accessible from this record view\n+     */\n+    int numberOfFields();\n+\n+    /**\n+     * Retrieve the value of the field at the given index\n+     *\n+     * @param index the index of the field\n+     * @throws IndexOutOfBoundsException if an invalid index was given\n+     * @return the field's value\n+     */\n+    Value value( int index );\n+\n+    /**\n+     * @return an immutable copy of the currently viewed record\n+     */\n+    Record record();","path":"driver/src/main/java/org/neo4j/driver/v1/RecordView.java","position":60,"original_position":60,"commit_id":"022a7fd662c17679986ab46859d6888e9fa1a846","original_commit_id":"f6ef40329b6a1638d995ba9897311ecf7ffdc346","user":{"login":"boggle","id":50886,"avatar_url":"https://avatars.githubusercontent.com/u/50886?v=3","gravatar_id":"","url":"https://api.github.com/users/boggle","html_url":"https://github.com/boggle","followers_url":"https://api.github.com/users/boggle/followers","following_url":"https://api.github.com/users/boggle/following{/other_user}","gists_url":"https://api.github.com/users/boggle/gists{/gist_id}","starred_url":"https://api.github.com/users/boggle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boggle/subscriptions","organizations_url":"https://api.github.com/users/boggle/orgs","repos_url":"https://api.github.com/users/boggle/repos","events_url":"https://api.github.com/users/boggle/events{/privacy}","received_events_url":"https://api.github.com/users/boggle/received_events","type":"User","site_admin":false},"body":"This is going away soon","created_at":"2015-11-27T01:01:17Z","updated_at":"2015-11-27T01:01:17Z","html_url":"https://github.com/neo4j/neo4j-java-driver/pull/86#discussion_r46011869","pull_request_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/86","_links":{"self":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/comments/46011869"},"html":{"href":"https://github.com/neo4j/neo4j-java-driver/pull/86#discussion_r46011869"},"pull_request":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/86"}}},"pull_request":{"url":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/86","id":51429390,"html_url":"https://github.com/neo4j/neo4j-java-driver/pull/86","diff_url":"https://github.com/neo4j/neo4j-java-driver/pull/86.diff","patch_url":"https://github.com/neo4j/neo4j-java-driver/pull/86.patch","issue_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues/86","number":86,"state":"open","locked":false,"title":"New results api [DONT MERGE YET]","user":{"login":"boggle","id":50886,"avatar_url":"https://avatars.githubusercontent.com/u/50886?v=3","gravatar_id":"","url":"https://api.github.com/users/boggle","html_url":"https://github.com/boggle","followers_url":"https://api.github.com/users/boggle/followers","following_url":"https://api.github.com/users/boggle/following{/other_user}","gists_url":"https://api.github.com/users/boggle/gists{/gist_id}","starred_url":"https://api.github.com/users/boggle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boggle/subscriptions","organizations_url":"https://api.github.com/users/boggle/orgs","repos_url":"https://api.github.com/users/boggle/repos","events_url":"https://api.github.com/users/boggle/events{/privacy}","received_events_url":"https://api.github.com/users/boggle/received_events","type":"User","site_admin":false},"body":"o Draft; needs more tests\r\no And talking through a couple of things","created_at":"2015-11-21T01:36:39Z","updated_at":"2015-11-27T01:01:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"452851dfaf15046e407e41bf54d7ab3674e1810a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/86/commits","review_comments_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/86/comments","review_comment_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues/86/comments","statuses_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/statuses/022a7fd662c17679986ab46859d6888e9fa1a846","head":{"label":"boggle:new-results-api","ref":"new-results-api","sha":"022a7fd662c17679986ab46859d6888e9fa1a846","user":{"login":"boggle","id":50886,"avatar_url":"https://avatars.githubusercontent.com/u/50886?v=3","gravatar_id":"","url":"https://api.github.com/users/boggle","html_url":"https://github.com/boggle","followers_url":"https://api.github.com/users/boggle/followers","following_url":"https://api.github.com/users/boggle/following{/other_user}","gists_url":"https://api.github.com/users/boggle/gists{/gist_id}","starred_url":"https://api.github.com/users/boggle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boggle/subscriptions","organizations_url":"https://api.github.com/users/boggle/orgs","repos_url":"https://api.github.com/users/boggle/repos","events_url":"https://api.github.com/users/boggle/events{/privacy}","received_events_url":"https://api.github.com/users/boggle/received_events","type":"User","site_admin":false},"repo":{"id":43006205,"name":"neo4j-java-driver","full_name":"boggle/neo4j-java-driver","owner":{"login":"boggle","id":50886,"avatar_url":"https://avatars.githubusercontent.com/u/50886?v=3","gravatar_id":"","url":"https://api.github.com/users/boggle","html_url":"https://github.com/boggle","followers_url":"https://api.github.com/users/boggle/followers","following_url":"https://api.github.com/users/boggle/following{/other_user}","gists_url":"https://api.github.com/users/boggle/gists{/gist_id}","starred_url":"https://api.github.com/users/boggle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boggle/subscriptions","organizations_url":"https://api.github.com/users/boggle/orgs","repos_url":"https://api.github.com/users/boggle/repos","events_url":"https://api.github.com/users/boggle/events{/privacy}","received_events_url":"https://api.github.com/users/boggle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boggle/neo4j-java-driver","description":"[ALPHA] Java driver for Neo4j binary protocol","fork":true,"url":"https://api.github.com/repos/boggle/neo4j-java-driver","forks_url":"https://api.github.com/repos/boggle/neo4j-java-driver/forks","keys_url":"https://api.github.com/repos/boggle/neo4j-java-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boggle/neo4j-java-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boggle/neo4j-java-driver/teams","hooks_url":"https://api.github.com/repos/boggle/neo4j-java-driver/hooks","issue_events_url":"https://api.github.com/repos/boggle/neo4j-java-driver/issues/events{/number}","events_url":"https://api.github.com/repos/boggle/neo4j-java-driver/events","assignees_url":"https://api.github.com/repos/boggle/neo4j-java-driver/assignees{/user}","branches_url":"https://api.github.com/repos/boggle/neo4j-java-driver/branches{/branch}","tags_url":"https://api.github.com/repos/boggle/neo4j-java-driver/tags","blobs_url":"https://api.github.com/repos/boggle/neo4j-java-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boggle/neo4j-java-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boggle/neo4j-java-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/boggle/neo4j-java-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boggle/neo4j-java-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/boggle/neo4j-java-driver/languages","stargazers_url":"https://api.github.com/repos/boggle/neo4j-java-driver/stargazers","contributors_url":"https://api.github.com/repos/boggle/neo4j-java-driver/contributors","subscribers_url":"https://api.github.com/repos/boggle/neo4j-java-driver/subscribers","subscription_url":"https://api.github.com/repos/boggle/neo4j-java-driver/subscription","commits_url":"https://api.github.com/repos/boggle/neo4j-java-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/boggle/neo4j-java-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/boggle/neo4j-java-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/boggle/neo4j-java-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/boggle/neo4j-java-driver/contents/{+path}","compare_url":"https://api.github.com/repos/boggle/neo4j-java-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boggle/neo4j-java-driver/merges","archive_url":"https://api.github.com/repos/boggle/neo4j-java-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boggle/neo4j-java-driver/downloads","issues_url":"https://api.github.com/repos/boggle/neo4j-java-driver/issues{/number}","pulls_url":"https://api.github.com/repos/boggle/neo4j-java-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/boggle/neo4j-java-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/boggle/neo4j-java-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boggle/neo4j-java-driver/labels{/name}","releases_url":"https://api.github.com/repos/boggle/neo4j-java-driver/releases{/id}","created_at":"2015-09-23T14:29:44Z","updated_at":"2015-09-23T14:29:45Z","pushed_at":"2015-11-26T20:45:11Z","git_url":"git://github.com/boggle/neo4j-java-driver.git","ssh_url":"git@github.com:boggle/neo4j-java-driver.git","clone_url":"https://github.com/boggle/neo4j-java-driver.git","svn_url":"https://github.com/boggle/neo4j-java-driver","homepage":"","size":740,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"neo4j:master","ref":"master","sha":"194e3c070ebc23de5cd54fdb622bee36593c07f9","user":{"login":"neo4j","id":201120,"avatar_url":"https://avatars.githubusercontent.com/u/201120?v=3","gravatar_id":"","url":"https://api.github.com/users/neo4j","html_url":"https://github.com/neo4j","followers_url":"https://api.github.com/users/neo4j/followers","following_url":"https://api.github.com/users/neo4j/following{/other_user}","gists_url":"https://api.github.com/users/neo4j/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4j/subscriptions","organizations_url":"https://api.github.com/users/neo4j/orgs","repos_url":"https://api.github.com/users/neo4j/repos","events_url":"https://api.github.com/users/neo4j/events{/privacy}","received_events_url":"https://api.github.com/users/neo4j/received_events","type":"Organization","site_admin":false},"repo":{"id":34007506,"name":"neo4j-java-driver","full_name":"neo4j/neo4j-java-driver","owner":{"login":"neo4j","id":201120,"avatar_url":"https://avatars.githubusercontent.com/u/201120?v=3","gravatar_id":"","url":"https://api.github.com/users/neo4j","html_url":"https://github.com/neo4j","followers_url":"https://api.github.com/users/neo4j/followers","following_url":"https://api.github.com/users/neo4j/following{/other_user}","gists_url":"https://api.github.com/users/neo4j/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4j/subscriptions","organizations_url":"https://api.github.com/users/neo4j/orgs","repos_url":"https://api.github.com/users/neo4j/repos","events_url":"https://api.github.com/users/neo4j/events{/privacy}","received_events_url":"https://api.github.com/users/neo4j/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neo4j/neo4j-java-driver","description":"[ALPHA] Java driver for Neo4j binary protocol","fork":false,"url":"https://api.github.com/repos/neo4j/neo4j-java-driver","forks_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/forks","keys_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/teams","hooks_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/hooks","issue_events_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues/events{/number}","events_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/events","assignees_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/assignees{/user}","branches_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/branches{/branch}","tags_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/tags","blobs_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/languages","stargazers_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/stargazers","contributors_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/contributors","subscribers_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/subscribers","subscription_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/subscription","commits_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/contents/{+path}","compare_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/merges","archive_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/downloads","issues_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues{/number}","pulls_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/labels{/name}","releases_url":"https://api.github.com/repos/neo4j/neo4j-java-driver/releases{/id}","created_at":"2015-04-15T17:08:15Z","updated_at":"2015-11-23T18:01:37Z","pushed_at":"2015-11-26T20:45:11Z","git_url":"git://github.com/neo4j/neo4j-java-driver.git","ssh_url":"git@github.com:neo4j/neo4j-java-driver.git","clone_url":"https://github.com/neo4j/neo4j-java-driver.git","svn_url":"https://github.com/neo4j/neo4j-java-driver","homepage":"","size":845,"stargazers_count":19,"watchers_count":19,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":1,"forks":16,"open_issues":1,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/86"},"html":{"href":"https://github.com/neo4j/neo4j-java-driver/pull/86"},"issue":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues/86"},"comments":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/neo4j/neo4j-java-driver/statuses/022a7fd662c17679986ab46859d6888e9fa1a846"}}}}