{"action":"created","comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/comments/63714269","id":63714269,"diff_hunk":"@@ -148,4 +150,11 @@ public void disposeDeferredBlocks() {\n         return records.getRandomSamples(sampleCount);\n     }\n \n+    @Override\n+    public MapKeyIteratorResult fetchNext(int tableIndex, int size) {\n+        List<Data> keys = new ArrayList<Data>();","path":"hazelcast/src/main/java/com/hazelcast/map/impl/recordstore/StorageImpl.java","position":23,"original_position":23,"commit_id":"75df2b8454443db9ac7f1238c0952b38436cacef","original_commit_id":"75df2b8454443db9ac7f1238c0952b38436cacef","user":{"login":"ahmetmircik","id":2960360,"avatar_url":"https://avatars.githubusercontent.com/u/2960360?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmetmircik","html_url":"https://github.com/ahmetmircik","followers_url":"https://api.github.com/users/ahmetmircik/followers","following_url":"https://api.github.com/users/ahmetmircik/following{/other_user}","gists_url":"https://api.github.com/users/ahmetmircik/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmetmircik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmetmircik/subscriptions","organizations_url":"https://api.github.com/users/ahmetmircik/orgs","repos_url":"https://api.github.com/users/ahmetmircik/repos","events_url":"https://api.github.com/users/ahmetmircik/events{/privacy}","received_events_url":"https://api.github.com/users/ahmetmircik/received_events","type":"User","site_admin":false},"body":"if possible an initial capacity can be added","created_at":"2016-05-18T14:35:41Z","updated_at":"2016-05-18T14:35:41Z","html_url":"https://github.com/hazelcast/hazelcast/pull/8194#discussion_r63714269","pull_request_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/8194","_links":{"self":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/comments/63714269"},"html":{"href":"https://github.com/hazelcast/hazelcast/pull/8194#discussion_r63714269"},"pull_request":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/8194"}}},"pull_request":{"url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/8194","id":70318442,"html_url":"https://github.com/hazelcast/hazelcast/pull/8194","diff_url":"https://github.com/hazelcast/hazelcast/pull/8194.diff","patch_url":"https://github.com/hazelcast/hazelcast/pull/8194.patch","issue_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8194","number":8194,"state":"open","locked":false,"title":"Introduced Partition Iterator to Cache and Map","user":{"login":"eminn","id":378108,"avatar_url":"https://avatars.githubusercontent.com/u/378108?v=3","gravatar_id":"","url":"https://api.github.com/users/eminn","html_url":"https://github.com/eminn","followers_url":"https://api.github.com/users/eminn/followers","following_url":"https://api.github.com/users/eminn/following{/other_user}","gists_url":"https://api.github.com/users/eminn/gists{/gist_id}","starred_url":"https://api.github.com/users/eminn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eminn/subscriptions","organizations_url":"https://api.github.com/users/eminn/orgs","repos_url":"https://api.github.com/users/eminn/repos","events_url":"https://api.github.com/users/eminn/events{/privacy}","received_events_url":"https://api.github.com/users/eminn/received_events","type":"User","site_admin":false},"body":"This PR introduces capability of iterating entries of the single partition to the Cache and Map.\r\n\r\nMotivation behind this change to provide ability to load map & cache entries to Spark partition by partition. \r\n\r\nThe iterator will retrieve the keys in batch, and in for each `next()` call it will `get()` the corresponding value for that key.\r\n\r\nClient protocol counterpart: https://github.com/hazelcast/hazelcast-client-protocol/pull/7\r\nEnterprise counterpart : https://github.com/hazelcast/hazelcast-enterprise/pull/901\r\n","created_at":"2016-05-17T08:37:15Z","updated_at":"2016-05-18T14:35:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a26334e1718f4a51a3ae8e21d22bbceda825455","assignee":null,"milestone":{"url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/70","html_url":"https://github.com/hazelcast/hazelcast/milestones/3.7","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/70/labels","id":1346433,"number":70,"title":"3.7","description":"","creator":{"login":"pveentjer","id":105243,"avatar_url":"https://avatars.githubusercontent.com/u/105243?v=3","gravatar_id":"","url":"https://api.github.com/users/pveentjer","html_url":"https://github.com/pveentjer","followers_url":"https://api.github.com/users/pveentjer/followers","following_url":"https://api.github.com/users/pveentjer/following{/other_user}","gists_url":"https://api.github.com/users/pveentjer/gists{/gist_id}","starred_url":"https://api.github.com/users/pveentjer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pveentjer/subscriptions","organizations_url":"https://api.github.com/users/pveentjer/orgs","repos_url":"https://api.github.com/users/pveentjer/repos","events_url":"https://api.github.com/users/pveentjer/events{/privacy}","received_events_url":"https://api.github.com/users/pveentjer/received_events","type":"User","site_admin":false},"open_issues":179,"closed_issues":534,"state":"open","created_at":"2015-10-09T12:16:13Z","updated_at":"2016-05-18T14:23:17Z","due_on":"2016-06-19T21:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/8194/commits","review_comments_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/8194/comments","review_comment_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/8194/comments","statuses_url":"https://api.github.com/repos/hazelcast/hazelcast/statuses/75df2b8454443db9ac7f1238c0952b38436cacef","head":{"label":"eminn:map-iterator","ref":"map-iterator","sha":"75df2b8454443db9ac7f1238c0952b38436cacef","user":{"login":"eminn","id":378108,"avatar_url":"https://avatars.githubusercontent.com/u/378108?v=3","gravatar_id":"","url":"https://api.github.com/users/eminn","html_url":"https://github.com/eminn","followers_url":"https://api.github.com/users/eminn/followers","following_url":"https://api.github.com/users/eminn/following{/other_user}","gists_url":"https://api.github.com/users/eminn/gists{/gist_id}","starred_url":"https://api.github.com/users/eminn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eminn/subscriptions","organizations_url":"https://api.github.com/users/eminn/orgs","repos_url":"https://api.github.com/users/eminn/repos","events_url":"https://api.github.com/users/eminn/events{/privacy}","received_events_url":"https://api.github.com/users/eminn/received_events","type":"User","site_admin":false},"repo":{"id":6697413,"name":"hazelcast","full_name":"eminn/hazelcast","owner":{"login":"eminn","id":378108,"avatar_url":"https://avatars.githubusercontent.com/u/378108?v=3","gravatar_id":"","url":"https://api.github.com/users/eminn","html_url":"https://github.com/eminn","followers_url":"https://api.github.com/users/eminn/followers","following_url":"https://api.github.com/users/eminn/following{/other_user}","gists_url":"https://api.github.com/users/eminn/gists{/gist_id}","starred_url":"https://api.github.com/users/eminn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eminn/subscriptions","organizations_url":"https://api.github.com/users/eminn/orgs","repos_url":"https://api.github.com/users/eminn/repos","events_url":"https://api.github.com/users/eminn/events{/privacy}","received_events_url":"https://api.github.com/users/eminn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eminn/hazelcast","description":"Open Source In-Memory Data Grid","fork":true,"url":"https://api.github.com/repos/eminn/hazelcast","forks_url":"https://api.github.com/repos/eminn/hazelcast/forks","keys_url":"https://api.github.com/repos/eminn/hazelcast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eminn/hazelcast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eminn/hazelcast/teams","hooks_url":"https://api.github.com/repos/eminn/hazelcast/hooks","issue_events_url":"https://api.github.com/repos/eminn/hazelcast/issues/events{/number}","events_url":"https://api.github.com/repos/eminn/hazelcast/events","assignees_url":"https://api.github.com/repos/eminn/hazelcast/assignees{/user}","branches_url":"https://api.github.com/repos/eminn/hazelcast/branches{/branch}","tags_url":"https://api.github.com/repos/eminn/hazelcast/tags","blobs_url":"https://api.github.com/repos/eminn/hazelcast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eminn/hazelcast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eminn/hazelcast/git/refs{/sha}","trees_url":"https://api.github.com/repos/eminn/hazelcast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eminn/hazelcast/statuses/{sha}","languages_url":"https://api.github.com/repos/eminn/hazelcast/languages","stargazers_url":"https://api.github.com/repos/eminn/hazelcast/stargazers","contributors_url":"https://api.github.com/repos/eminn/hazelcast/contributors","subscribers_url":"https://api.github.com/repos/eminn/hazelcast/subscribers","subscription_url":"https://api.github.com/repos/eminn/hazelcast/subscription","commits_url":"https://api.github.com/repos/eminn/hazelcast/commits{/sha}","git_commits_url":"https://api.github.com/repos/eminn/hazelcast/git/commits{/sha}","comments_url":"https://api.github.com/repos/eminn/hazelcast/comments{/number}","issue_comment_url":"https://api.github.com/repos/eminn/hazelcast/issues/comments{/number}","contents_url":"https://api.github.com/repos/eminn/hazelcast/contents/{+path}","compare_url":"https://api.github.com/repos/eminn/hazelcast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eminn/hazelcast/merges","archive_url":"https://api.github.com/repos/eminn/hazelcast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eminn/hazelcast/downloads","issues_url":"https://api.github.com/repos/eminn/hazelcast/issues{/number}","pulls_url":"https://api.github.com/repos/eminn/hazelcast/pulls{/number}","milestones_url":"https://api.github.com/repos/eminn/hazelcast/milestones{/number}","notifications_url":"https://api.github.com/repos/eminn/hazelcast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eminn/hazelcast/labels{/name}","releases_url":"https://api.github.com/repos/eminn/hazelcast/releases{/id}","deployments_url":"https://api.github.com/repos/eminn/hazelcast/deployments","created_at":"2012-11-15T00:39:03Z","updated_at":"2015-11-19T21:10:34Z","pushed_at":"2016-05-18T08:08:40Z","git_url":"git://github.com/eminn/hazelcast.git","ssh_url":"git@github.com:eminn/hazelcast.git","clone_url":"https://github.com/eminn/hazelcast.git","svn_url":"https://github.com/eminn/hazelcast","homepage":"www.hazelcast.com","size":92226,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"hazelcast:master","ref":"master","sha":"8a898fd0973b8a3dddec2ab806ab711ed0d22abd","user":{"login":"hazelcast","id":1453152,"avatar_url":"https://avatars.githubusercontent.com/u/1453152?v=3","gravatar_id":"","url":"https://api.github.com/users/hazelcast","html_url":"https://github.com/hazelcast","followers_url":"https://api.github.com/users/hazelcast/followers","following_url":"https://api.github.com/users/hazelcast/following{/other_user}","gists_url":"https://api.github.com/users/hazelcast/gists{/gist_id}","starred_url":"https://api.github.com/users/hazelcast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hazelcast/subscriptions","organizations_url":"https://api.github.com/users/hazelcast/orgs","repos_url":"https://api.github.com/users/hazelcast/repos","events_url":"https://api.github.com/users/hazelcast/events{/privacy}","received_events_url":"https://api.github.com/users/hazelcast/received_events","type":"Organization","site_admin":false},"repo":{"id":3786237,"name":"hazelcast","full_name":"hazelcast/hazelcast","owner":{"login":"hazelcast","id":1453152,"avatar_url":"https://avatars.githubusercontent.com/u/1453152?v=3","gravatar_id":"","url":"https://api.github.com/users/hazelcast","html_url":"https://github.com/hazelcast","followers_url":"https://api.github.com/users/hazelcast/followers","following_url":"https://api.github.com/users/hazelcast/following{/other_user}","gists_url":"https://api.github.com/users/hazelcast/gists{/gist_id}","starred_url":"https://api.github.com/users/hazelcast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hazelcast/subscriptions","organizations_url":"https://api.github.com/users/hazelcast/orgs","repos_url":"https://api.github.com/users/hazelcast/repos","events_url":"https://api.github.com/users/hazelcast/events{/privacy}","received_events_url":"https://api.github.com/users/hazelcast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hazelcast/hazelcast","description":"Open Source In-Memory Data Grid","fork":false,"url":"https://api.github.com/repos/hazelcast/hazelcast","forks_url":"https://api.github.com/repos/hazelcast/hazelcast/forks","keys_url":"https://api.github.com/repos/hazelcast/hazelcast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hazelcast/hazelcast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hazelcast/hazelcast/teams","hooks_url":"https://api.github.com/repos/hazelcast/hazelcast/hooks","issue_events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/events{/number}","events_url":"https://api.github.com/repos/hazelcast/hazelcast/events","assignees_url":"https://api.github.com/repos/hazelcast/hazelcast/assignees{/user}","branches_url":"https://api.github.com/repos/hazelcast/hazelcast/branches{/branch}","tags_url":"https://api.github.com/repos/hazelcast/hazelcast/tags","blobs_url":"https://api.github.com/repos/hazelcast/hazelcast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hazelcast/hazelcast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hazelcast/hazelcast/git/refs{/sha}","trees_url":"https://api.github.com/repos/hazelcast/hazelcast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hazelcast/hazelcast/statuses/{sha}","languages_url":"https://api.github.com/repos/hazelcast/hazelcast/languages","stargazers_url":"https://api.github.com/repos/hazelcast/hazelcast/stargazers","contributors_url":"https://api.github.com/repos/hazelcast/hazelcast/contributors","subscribers_url":"https://api.github.com/repos/hazelcast/hazelcast/subscribers","subscription_url":"https://api.github.com/repos/hazelcast/hazelcast/subscription","commits_url":"https://api.github.com/repos/hazelcast/hazelcast/commits{/sha}","git_commits_url":"https://api.github.com/repos/hazelcast/hazelcast/git/commits{/sha}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/comments{/number}","issue_comment_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/comments{/number}","contents_url":"https://api.github.com/repos/hazelcast/hazelcast/contents/{+path}","compare_url":"https://api.github.com/repos/hazelcast/hazelcast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hazelcast/hazelcast/merges","archive_url":"https://api.github.com/repos/hazelcast/hazelcast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hazelcast/hazelcast/downloads","issues_url":"https://api.github.com/repos/hazelcast/hazelcast/issues{/number}","pulls_url":"https://api.github.com/repos/hazelcast/hazelcast/pulls{/number}","milestones_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones{/number}","notifications_url":"https://api.github.com/repos/hazelcast/hazelcast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/labels{/name}","releases_url":"https://api.github.com/repos/hazelcast/hazelcast/releases{/id}","deployments_url":"https://api.github.com/repos/hazelcast/hazelcast/deployments","created_at":"2012-03-21T12:25:18Z","updated_at":"2016-05-17T21:48:04Z","pushed_at":"2016-05-18T14:34:11Z","git_url":"git://github.com/hazelcast/hazelcast.git","ssh_url":"git@github.com:hazelcast/hazelcast.git","clone_url":"https://github.com/hazelcast/hazelcast.git","svn_url":"https://github.com/hazelcast/hazelcast","homepage":"www.hazelcast.com","size":126960,"stargazers_count":1574,"watchers_count":1574,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":740,"mirror_url":null,"open_issues_count":589,"forks":740,"open_issues":589,"watchers":1574,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/8194"},"html":{"href":"https://github.com/hazelcast/hazelcast/pull/8194"},"issue":{"href":"https://api.github.com/repos/hazelcast/hazelcast/issues/8194"},"comments":{"href":"https://api.github.com/repos/hazelcast/hazelcast/issues/8194/comments"},"review_comments":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/8194/comments"},"review_comment":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hazelcast/hazelcast/pulls/8194/commits"},"statuses":{"href":"https://api.github.com/repos/hazelcast/hazelcast/statuses/75df2b8454443db9ac7f1238c0952b38436cacef"}}}}