{"action":"created","comment":{"url":"https://api.github.com/repos/ucbrise/confluo/pulls/comments/239591699","pull_request_review_id":182418023,"id":239591699,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTU5MTY5OQ==","diff_hunk":"@@ -0,0 +1,33 @@\n+#include \"container/cursor/json_cursors.h\"\n+\n+namespace confluo {\n+\n+aggregated_json_cursor::aggregated_json_cursor(std::unique_ptr<offset_cursor> o_cursor,\n+                                           const data_log *dlog,\n+                                           const schema_t *schema,\n+                                           const parser::compiled_expression &cexpr,\n+                                           size_t batch_size)\n+    : json_cursor(batch_size),\n+      o_cursor_(std::move(o_cursor)),\n+      dlog_(dlog),\n+      schema_(schema),\n+      cexpr_(cexpr) {\n+  init();\n+}\n+\n+size_t aggregated_json_cursor::load_next_batch() {\n+  // TODO add functionality to make into a json_string\n+  size_t i = 0;\n+  for (; i < current_batch_.size() && o_cursor_->has_more();\n+         ++i, o_cursor_->advance()) {\n+    uint64_t o = o_cursor_->get();","path":"libconfluo/src/container/cursor/json_cursors.cc","position":23,"original_position":23,"commit_id":"fc7ecd185bfac8a7b6cef1fc32c92cfd56e11a1c","original_commit_id":"fc7ecd185bfac8a7b6cef1fc32c92cfd56e11a1c","user":{"login":"anuragkh","id":514968,"node_id":"MDQ6VXNlcjUxNDk2OA==","avatar_url":"https://avatars1.githubusercontent.com/u/514968?v=4","gravatar_id":"","url":"https://api.github.com/users/anuragkh","html_url":"https://github.com/anuragkh","followers_url":"https://api.github.com/users/anuragkh/followers","following_url":"https://api.github.com/users/anuragkh/following{/other_user}","gists_url":"https://api.github.com/users/anuragkh/gists{/gist_id}","starred_url":"https://api.github.com/users/anuragkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuragkh/subscriptions","organizations_url":"https://api.github.com/users/anuragkh/orgs","repos_url":"https://api.github.com/users/anuragkh/repos","events_url":"https://api.github.com/users/anuragkh/events{/privacy}","received_events_url":"https://api.github.com/users/anuragkh/received_events","type":"User","site_admin":false},"body":"None of this logic will be needed; only need to convert each record in record_cursor to JSON.","created_at":"2018-12-06T19:53:08Z","updated_at":"2018-12-06T19:53:11Z","html_url":"https://github.com/ucbrise/confluo/pull/109#discussion_r239591699","pull_request_url":"https://api.github.com/repos/ucbrise/confluo/pulls/109","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ucbrise/confluo/pulls/comments/239591699"},"html":{"href":"https://github.com/ucbrise/confluo/pull/109#discussion_r239591699"},"pull_request":{"href":"https://api.github.com/repos/ucbrise/confluo/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/ucbrise/confluo/pulls/109","id":232587359,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNTg3MzU5","html_url":"https://github.com/ucbrise/confluo/pull/109","diff_url":"https://github.com/ucbrise/confluo/pull/109.diff","patch_url":"https://github.com/ucbrise/confluo/pull/109.patch","issue_url":"https://api.github.com/repos/ucbrise/confluo/issues/109","number":109,"state":"open","locked":false,"title":"JSON interface for RPC Client [Issue #14]","user":{"login":"attaluris","id":8651514,"node_id":"MDQ6VXNlcjg2NTE1MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8651514?v=4","gravatar_id":"","url":"https://api.github.com/users/attaluris","html_url":"https://github.com/attaluris","followers_url":"https://api.github.com/users/attaluris/followers","following_url":"https://api.github.com/users/attaluris/following{/other_user}","gists_url":"https://api.github.com/users/attaluris/gists{/gist_id}","starred_url":"https://api.github.com/users/attaluris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/attaluris/subscriptions","organizations_url":"https://api.github.com/users/attaluris/orgs","repos_url":"https://api.github.com/users/attaluris/repos","events_url":"https://api.github.com/users/attaluris/events{/privacy}","received_events_url":"https://api.github.com/users/attaluris/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-21T09:13:29Z","updated_at":"2018-12-06T19:53:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4fb6950a920709190808e14cb917700794cbe255","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ucbrise/confluo/pulls/109/commits","review_comments_url":"https://api.github.com/repos/ucbrise/confluo/pulls/109/comments","review_comment_url":"https://api.github.com/repos/ucbrise/confluo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ucbrise/confluo/issues/109/comments","statuses_url":"https://api.github.com/repos/ucbrise/confluo/statuses/fc7ecd185bfac8a7b6cef1fc32c92cfd56e11a1c","head":{"label":"attaluris:json-parser","ref":"json-parser","sha":"fc7ecd185bfac8a7b6cef1fc32c92cfd56e11a1c","user":{"login":"attaluris","id":8651514,"node_id":"MDQ6VXNlcjg2NTE1MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8651514?v=4","gravatar_id":"","url":"https://api.github.com/users/attaluris","html_url":"https://github.com/attaluris","followers_url":"https://api.github.com/users/attaluris/followers","following_url":"https://api.github.com/users/attaluris/following{/other_user}","gists_url":"https://api.github.com/users/attaluris/gists{/gist_id}","starred_url":"https://api.github.com/users/attaluris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/attaluris/subscriptions","organizations_url":"https://api.github.com/users/attaluris/orgs","repos_url":"https://api.github.com/users/attaluris/repos","events_url":"https://api.github.com/users/attaluris/events{/privacy}","received_events_url":"https://api.github.com/users/attaluris/received_events","type":"User","site_admin":false},"repo":{"id":155030329,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUwMzAzMjk=","name":"confluo-1","full_name":"attaluris/confluo-1","private":false,"owner":{"login":"attaluris","id":8651514,"node_id":"MDQ6VXNlcjg2NTE1MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8651514?v=4","gravatar_id":"","url":"https://api.github.com/users/attaluris","html_url":"https://github.com/attaluris","followers_url":"https://api.github.com/users/attaluris/followers","following_url":"https://api.github.com/users/attaluris/following{/other_user}","gists_url":"https://api.github.com/users/attaluris/gists{/gist_id}","starred_url":"https://api.github.com/users/attaluris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/attaluris/subscriptions","organizations_url":"https://api.github.com/users/attaluris/orgs","repos_url":"https://api.github.com/users/attaluris/repos","events_url":"https://api.github.com/users/attaluris/events{/privacy}","received_events_url":"https://api.github.com/users/attaluris/received_events","type":"User","site_admin":false},"html_url":"https://github.com/attaluris/confluo-1","description":"Real-time Monitoring and Analysis of Data Streams","fork":true,"url":"https://api.github.com/repos/attaluris/confluo-1","forks_url":"https://api.github.com/repos/attaluris/confluo-1/forks","keys_url":"https://api.github.com/repos/attaluris/confluo-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/attaluris/confluo-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/attaluris/confluo-1/teams","hooks_url":"https://api.github.com/repos/attaluris/confluo-1/hooks","issue_events_url":"https://api.github.com/repos/attaluris/confluo-1/issues/events{/number}","events_url":"https://api.github.com/repos/attaluris/confluo-1/events","assignees_url":"https://api.github.com/repos/attaluris/confluo-1/assignees{/user}","branches_url":"https://api.github.com/repos/attaluris/confluo-1/branches{/branch}","tags_url":"https://api.github.com/repos/attaluris/confluo-1/tags","blobs_url":"https://api.github.com/repos/attaluris/confluo-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/attaluris/confluo-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/attaluris/confluo-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/attaluris/confluo-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/attaluris/confluo-1/statuses/{sha}","languages_url":"https://api.github.com/repos/attaluris/confluo-1/languages","stargazers_url":"https://api.github.com/repos/attaluris/confluo-1/stargazers","contributors_url":"https://api.github.com/repos/attaluris/confluo-1/contributors","subscribers_url":"https://api.github.com/repos/attaluris/confluo-1/subscribers","subscription_url":"https://api.github.com/repos/attaluris/confluo-1/subscription","commits_url":"https://api.github.com/repos/attaluris/confluo-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/attaluris/confluo-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/attaluris/confluo-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/attaluris/confluo-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/attaluris/confluo-1/contents/{+path}","compare_url":"https://api.github.com/repos/attaluris/confluo-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/attaluris/confluo-1/merges","archive_url":"https://api.github.com/repos/attaluris/confluo-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/attaluris/confluo-1/downloads","issues_url":"https://api.github.com/repos/attaluris/confluo-1/issues{/number}","pulls_url":"https://api.github.com/repos/attaluris/confluo-1/pulls{/number}","milestones_url":"https://api.github.com/repos/attaluris/confluo-1/milestones{/number}","notifications_url":"https://api.github.com/repos/attaluris/confluo-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/attaluris/confluo-1/labels{/name}","releases_url":"https://api.github.com/repos/attaluris/confluo-1/releases{/id}","deployments_url":"https://api.github.com/repos/attaluris/confluo-1/deployments","created_at":"2018-10-28T03:05:45Z","updated_at":"2018-10-28T03:05:48Z","pushed_at":"2018-12-06T18:55:53Z","git_url":"git://github.com/attaluris/confluo-1.git","ssh_url":"git@github.com:attaluris/confluo-1.git","clone_url":"https://github.com/attaluris/confluo-1.git","svn_url":"https://github.com/attaluris/confluo-1","homepage":"https://ucbrise.github.io/confluo/","size":8813,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"single-machine"}},"base":{"label":"ucbrise:single-machine","ref":"single-machine","sha":"6b326f95446d46c5ead38fa5376ad9c53b345752","user":{"login":"ucbrise","id":20959024,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTU5MDI0","avatar_url":"https://avatars2.githubusercontent.com/u/20959024?v=4","gravatar_id":"","url":"https://api.github.com/users/ucbrise","html_url":"https://github.com/ucbrise","followers_url":"https://api.github.com/users/ucbrise/followers","following_url":"https://api.github.com/users/ucbrise/following{/other_user}","gists_url":"https://api.github.com/users/ucbrise/gists{/gist_id}","starred_url":"https://api.github.com/users/ucbrise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucbrise/subscriptions","organizations_url":"https://api.github.com/users/ucbrise/orgs","repos_url":"https://api.github.com/users/ucbrise/repos","events_url":"https://api.github.com/users/ucbrise/events{/privacy}","received_events_url":"https://api.github.com/users/ucbrise/received_events","type":"Organization","site_admin":false},"repo":{"id":50422569,"node_id":"MDEwOlJlcG9zaXRvcnk1MDQyMjU2OQ==","name":"confluo","full_name":"ucbrise/confluo","private":false,"owner":{"login":"ucbrise","id":20959024,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTU5MDI0","avatar_url":"https://avatars2.githubusercontent.com/u/20959024?v=4","gravatar_id":"","url":"https://api.github.com/users/ucbrise","html_url":"https://github.com/ucbrise","followers_url":"https://api.github.com/users/ucbrise/followers","following_url":"https://api.github.com/users/ucbrise/following{/other_user}","gists_url":"https://api.github.com/users/ucbrise/gists{/gist_id}","starred_url":"https://api.github.com/users/ucbrise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucbrise/subscriptions","organizations_url":"https://api.github.com/users/ucbrise/orgs","repos_url":"https://api.github.com/users/ucbrise/repos","events_url":"https://api.github.com/users/ucbrise/events{/privacy}","received_events_url":"https://api.github.com/users/ucbrise/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ucbrise/confluo","description":"Real-time Monitoring and Analysis of Data Streams","fork":false,"url":"https://api.github.com/repos/ucbrise/confluo","forks_url":"https://api.github.com/repos/ucbrise/confluo/forks","keys_url":"https://api.github.com/repos/ucbrise/confluo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ucbrise/confluo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ucbrise/confluo/teams","hooks_url":"https://api.github.com/repos/ucbrise/confluo/hooks","issue_events_url":"https://api.github.com/repos/ucbrise/confluo/issues/events{/number}","events_url":"https://api.github.com/repos/ucbrise/confluo/events","assignees_url":"https://api.github.com/repos/ucbrise/confluo/assignees{/user}","branches_url":"https://api.github.com/repos/ucbrise/confluo/branches{/branch}","tags_url":"https://api.github.com/repos/ucbrise/confluo/tags","blobs_url":"https://api.github.com/repos/ucbrise/confluo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ucbrise/confluo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ucbrise/confluo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ucbrise/confluo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ucbrise/confluo/statuses/{sha}","languages_url":"https://api.github.com/repos/ucbrise/confluo/languages","stargazers_url":"https://api.github.com/repos/ucbrise/confluo/stargazers","contributors_url":"https://api.github.com/repos/ucbrise/confluo/contributors","subscribers_url":"https://api.github.com/repos/ucbrise/confluo/subscribers","subscription_url":"https://api.github.com/repos/ucbrise/confluo/subscription","commits_url":"https://api.github.com/repos/ucbrise/confluo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ucbrise/confluo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ucbrise/confluo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ucbrise/confluo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ucbrise/confluo/contents/{+path}","compare_url":"https://api.github.com/repos/ucbrise/confluo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ucbrise/confluo/merges","archive_url":"https://api.github.com/repos/ucbrise/confluo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ucbrise/confluo/downloads","issues_url":"https://api.github.com/repos/ucbrise/confluo/issues{/number}","pulls_url":"https://api.github.com/repos/ucbrise/confluo/pulls{/number}","milestones_url":"https://api.github.com/repos/ucbrise/confluo/milestones{/number}","notifications_url":"https://api.github.com/repos/ucbrise/confluo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ucbrise/confluo/labels{/name}","releases_url":"https://api.github.com/repos/ucbrise/confluo/releases{/id}","deployments_url":"https://api.github.com/repos/ucbrise/confluo/deployments","created_at":"2016-01-26T10:49:47Z","updated_at":"2018-12-06T18:43:12Z","pushed_at":"2018-12-06T18:55:54Z","git_url":"git://github.com/ucbrise/confluo.git","ssh_url":"git@github.com:ucbrise/confluo.git","clone_url":"https://github.com/ucbrise/confluo.git","svn_url":"https://github.com/ucbrise/confluo","homepage":"https://ucbrise.github.io/confluo/","size":11012,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3,"open_issues":16,"watchers":3,"default_branch":"single-machine"}},"_links":{"self":{"href":"https://api.github.com/repos/ucbrise/confluo/pulls/109"},"html":{"href":"https://github.com/ucbrise/confluo/pull/109"},"issue":{"href":"https://api.github.com/repos/ucbrise/confluo/issues/109"},"comments":{"href":"https://api.github.com/repos/ucbrise/confluo/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/ucbrise/confluo/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/ucbrise/confluo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ucbrise/confluo/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/ucbrise/confluo/statuses/fc7ecd185bfac8a7b6cef1fc32c92cfd56e11a1c"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"anuragkh"}}