{"action":"closed","number":101,"pull_request":{"url":"https://api.github.com/repos/typesafe-query/typesafe-query/pulls/101","id":60287735,"html_url":"https://github.com/typesafe-query/typesafe-query/pull/101","diff_url":"https://github.com/typesafe-query/typesafe-query/pull/101.diff","patch_url":"https://github.com/typesafe-query/typesafe-query/pull/101.patch","issue_url":"https://api.github.com/repos/typesafe-query/typesafe-query/issues/101","number":101,"state":"closed","locked":false,"title":"Issues#97 １件毎に処理する仕組みを実装","user":{"login":"master-of-sugar","id":865716,"avatar_url":"https://avatars.githubusercontent.com/u/865716?v=3","gravatar_id":"","url":"https://api.github.com/users/master-of-sugar","html_url":"https://github.com/master-of-sugar","followers_url":"https://api.github.com/users/master-of-sugar/followers","following_url":"https://api.github.com/users/master-of-sugar/following{/other_user}","gists_url":"https://api.github.com/users/master-of-sugar/gists{/gist_id}","starred_url":"https://api.github.com/users/master-of-sugar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/master-of-sugar/subscriptions","organizations_url":"https://api.github.com/users/master-of-sugar/orgs","repos_url":"https://api.github.com/users/master-of-sugar/repos","events_url":"https://api.github.com/users/master-of-sugar/events{/privacy}","received_events_url":"https://api.github.com/users/master-of-sugar/received_events","type":"User","site_admin":false},"body":" - [x] `TypesafeQuery` で使えるように\r\n - [x] `Finder` で使えるように\r\n\r\n使い方\r\n```\r\nselect()....forOnce().fetch(Customers.class, c -> System.out.println(c.getId()));\r\n\r\nCustomers.find().fetch(c -> {\r\n   //Do something.\r\n});\r\n```\r\n\r\n処理の中断\r\n`Consumer` と `Predicate` がオーバーロードで定義してある。`true` で継続、 `false` を戻すとその時点で中断。\r\n\r\n```\r\nCustomers.find().fetch(c -> {\r\n   //Do something.\r\n   if( hogehoge ){\r\n      return false;\r\n   }\r\n   return true;\r\n});\r\n\r\n```\r\n\r\n\r\n","created_at":"2016-02-23T04:52:03Z","updated_at":"2016-02-24T03:00:01Z","closed_at":"2016-02-24T03:00:01Z","merged_at":"2016-02-24T03:00:01Z","merge_commit_sha":"4892d15d864ff8098b3e3bb0f25c84c329ca6131","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/typesafe-query/typesafe-query/pulls/101/commits","review_comments_url":"https://api.github.com/repos/typesafe-query/typesafe-query/pulls/101/comments","review_comment_url":"https://api.github.com/repos/typesafe-query/typesafe-query/pulls/comments{/number}","comments_url":"https://api.github.com/repos/typesafe-query/typesafe-query/issues/101/comments","statuses_url":"https://api.github.com/repos/typesafe-query/typesafe-query/statuses/d6bde5b49bc6891defb33c2cff47c8af4a988474","head":{"label":"typesafe-query:Issues#97_add_fetch_method","ref":"Issues#97_add_fetch_method","sha":"d6bde5b49bc6891defb33c2cff47c8af4a988474","user":{"login":"typesafe-query","id":13307286,"avatar_url":"https://avatars.githubusercontent.com/u/13307286?v=3","gravatar_id":"","url":"https://api.github.com/users/typesafe-query","html_url":"https://github.com/typesafe-query","followers_url":"https://api.github.com/users/typesafe-query/followers","following_url":"https://api.github.com/users/typesafe-query/following{/other_user}","gists_url":"https://api.github.com/users/typesafe-query/gists{/gist_id}","starred_url":"https://api.github.com/users/typesafe-query/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typesafe-query/subscriptions","organizations_url":"https://api.github.com/users/typesafe-query/orgs","repos_url":"https://api.github.com/users/typesafe-query/repos","events_url":"https://api.github.com/users/typesafe-query/events{/privacy}","received_events_url":"https://api.github.com/users/typesafe-query/received_events","type":"Organization","site_admin":false},"repo":{"id":42285925,"name":"typesafe-query","full_name":"typesafe-query/typesafe-query","owner":{"login":"typesafe-query","id":13307286,"avatar_url":"https://avatars.githubusercontent.com/u/13307286?v=3","gravatar_id":"","url":"https://api.github.com/users/typesafe-query","html_url":"https://github.com/typesafe-query","followers_url":"https://api.github.com/users/typesafe-query/followers","following_url":"https://api.github.com/users/typesafe-query/following{/other_user}","gists_url":"https://api.github.com/users/typesafe-query/gists{/gist_id}","starred_url":"https://api.github.com/users/typesafe-query/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typesafe-query/subscriptions","organizations_url":"https://api.github.com/users/typesafe-query/orgs","repos_url":"https://api.github.com/users/typesafe-query/repos","events_url":"https://api.github.com/users/typesafe-query/events{/privacy}","received_events_url":"https://api.github.com/users/typesafe-query/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/typesafe-query/typesafe-query","description":"Typesafe Query Project.","fork":false,"url":"https://api.github.com/repos/typesafe-query/typesafe-query","forks_url":"https://api.github.com/repos/typesafe-query/typesafe-query/forks","keys_url":"https://api.github.com/repos/typesafe-query/typesafe-query/keys{/key_id}","collaborators_url":"https://api.github.com/repos/typesafe-query/typesafe-query/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/typesafe-query/typesafe-query/teams","hooks_url":"https://api.github.com/repos/typesafe-query/typesafe-query/hooks","issue_events_url":"https://api.github.com/repos/typesafe-query/typesafe-query/issues/events{/number}","events_url":"https://api.github.com/repos/typesafe-query/typesafe-query/events","assignees_url":"https://api.github.com/repos/typesafe-query/typesafe-query/assignees{/user}","branches_url":"https://api.github.com/repos/typesafe-query/typesafe-query/branches{/branch}","tags_url":"https://api.github.com/repos/typesafe-query/typesafe-query/tags","blobs_url":"https://api.github.com/repos/typesafe-query/typesafe-query/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/typesafe-query/typesafe-query/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/typesafe-query/typesafe-query/git/refs{/sha}","trees_url":"https://api.github.com/repos/typesafe-query/typesafe-query/git/trees{/sha}","statuses_url":"https://api.github.com/repos/typesafe-query/typesafe-query/statuses/{sha}","languages_url":"https://api.github.com/repos/typesafe-query/typesafe-query/languages","stargazers_url":"https://api.github.com/repos/typesafe-query/typesafe-query/stargazers","contributors_url":"https://api.github.com/repos/typesafe-query/typesafe-query/contributors","subscribers_url":"https://api.github.com/repos/typesafe-query/typesafe-query/subscribers","subscription_url":"https://api.github.com/repos/typesafe-query/typesafe-query/subscription","commits_url":"https://api.github.com/repos/typesafe-query/typesafe-query/commits{/sha}","git_commits_url":"https://api.github.com/repos/typesafe-query/typesafe-query/git/commits{/sha}","comments_url":"https://api.github.com/repos/typesafe-query/typesafe-query/comments{/number}","issue_comment_url":"https://api.github.com/repos/typesafe-query/typesafe-query/issues/comments{/number}","contents_url":"https://api.github.com/repos/typesafe-query/typesafe-query/contents/{+path}","compare_url":"https://api.github.com/repos/typesafe-query/typesafe-query/compare/{base}...{head}","merges_url":"https://api.github.com/repos/typesafe-query/typesafe-query/merges","archive_url":"https://api.github.com/repos/typesafe-query/typesafe-query/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/typesafe-query/typesafe-query/downloads","issues_url":"https://api.github.com/repos/typesafe-query/typesafe-query/issues{/number}","pulls_url":"https://api.github.com/repos/typesafe-query/typesafe-query/pulls{/number}","milestones_url":"https://api.github.com/repos/typesafe-query/typesafe-query/milestones{/number}","notifications_url":"https://api.github.com/repos/typesafe-query/typesafe-query/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/typesafe-query/typesafe-query/labels{/name}","releases_url":"https://api.github.com/repos/typesafe-query/typesafe-query/releases{/id}","deployments_url":"https://api.github.com/repos/typesafe-query/typesafe-query/deployments","created_at":"2015-09-11T03:40:44Z","updated_at":"2016-01-14T04:47:30Z","pushed_at":"2016-02-24T03:00:00Z","git_url":"git://github.com/typesafe-query/typesafe-query.git","ssh_url":"git@github.com:typesafe-query/typesafe-query.git","clone_url":"https://github.com/typesafe-query/typesafe-query.git","svn_url":"https://github.com/typesafe-query/typesafe-query","homepage":null,"size":303,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":38,"forks":1,"open_issues":38,"watchers":0,"default_branch":"master"}},"base":{"label":"typesafe-query:release/0.6.0","ref":"release/0.6.0","sha":"ab278851f203ce313ee881848da4eebb314fec7c","user":{"login":"typesafe-query","id":13307286,"avatar_url":"https://avatars.githubusercontent.com/u/13307286?v=3","gravatar_id":"","url":"https://api.github.com/users/typesafe-query","html_url":"https://github.com/typesafe-query","followers_url":"https://api.github.com/users/typesafe-query/followers","following_url":"https://api.github.com/users/typesafe-query/following{/other_user}","gists_url":"https://api.github.com/users/typesafe-query/gists{/gist_id}","starred_url":"https://api.github.com/users/typesafe-query/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typesafe-query/subscriptions","organizations_url":"https://api.github.com/users/typesafe-query/orgs","repos_url":"https://api.github.com/users/typesafe-query/repos","events_url":"https://api.github.com/users/typesafe-query/events{/privacy}","received_events_url":"https://api.github.com/users/typesafe-query/received_events","type":"Organization","site_admin":false},"repo":{"id":42285925,"name":"typesafe-query","full_name":"typesafe-query/typesafe-query","owner":{"login":"typesafe-query","id":13307286,"avatar_url":"https://avatars.githubusercontent.com/u/13307286?v=3","gravatar_id":"","url":"https://api.github.com/users/typesafe-query","html_url":"https://github.com/typesafe-query","followers_url":"https://api.github.com/users/typesafe-query/followers","following_url":"https://api.github.com/users/typesafe-query/following{/other_user}","gists_url":"https://api.github.com/users/typesafe-query/gists{/gist_id}","starred_url":"https://api.github.com/users/typesafe-query/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typesafe-query/subscriptions","organizations_url":"https://api.github.com/users/typesafe-query/orgs","repos_url":"https://api.github.com/users/typesafe-query/repos","events_url":"https://api.github.com/users/typesafe-query/events{/privacy}","received_events_url":"https://api.github.com/users/typesafe-query/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/typesafe-query/typesafe-query","description":"Typesafe Query Project.","fork":false,"url":"https://api.github.com/repos/typesafe-query/typesafe-query","forks_url":"https://api.github.com/repos/typesafe-query/typesafe-query/forks","keys_url":"https://api.github.com/repos/typesafe-query/typesafe-query/keys{/key_id}","collaborators_url":"https://api.github.com/repos/typesafe-query/typesafe-query/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/typesafe-query/typesafe-query/teams","hooks_url":"https://api.github.com/repos/typesafe-query/typesafe-query/hooks","issue_events_url":"https://api.github.com/repos/typesafe-query/typesafe-query/issues/events{/number}","events_url":"https://api.github.com/repos/typesafe-query/typesafe-query/events","assignees_url":"https://api.github.com/repos/typesafe-query/typesafe-query/assignees{/user}","branches_url":"https://api.github.com/repos/typesafe-query/typesafe-query/branches{/branch}","tags_url":"https://api.github.com/repos/typesafe-query/typesafe-query/tags","blobs_url":"https://api.github.com/repos/typesafe-query/typesafe-query/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/typesafe-query/typesafe-query/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/typesafe-query/typesafe-query/git/refs{/sha}","trees_url":"https://api.github.com/repos/typesafe-query/typesafe-query/git/trees{/sha}","statuses_url":"https://api.github.com/repos/typesafe-query/typesafe-query/statuses/{sha}","languages_url":"https://api.github.com/repos/typesafe-query/typesafe-query/languages","stargazers_url":"https://api.github.com/repos/typesafe-query/typesafe-query/stargazers","contributors_url":"https://api.github.com/repos/typesafe-query/typesafe-query/contributors","subscribers_url":"https://api.github.com/repos/typesafe-query/typesafe-query/subscribers","subscription_url":"https://api.github.com/repos/typesafe-query/typesafe-query/subscription","commits_url":"https://api.github.com/repos/typesafe-query/typesafe-query/commits{/sha}","git_commits_url":"https://api.github.com/repos/typesafe-query/typesafe-query/git/commits{/sha}","comments_url":"https://api.github.com/repos/typesafe-query/typesafe-query/comments{/number}","issue_comment_url":"https://api.github.com/repos/typesafe-query/typesafe-query/issues/comments{/number}","contents_url":"https://api.github.com/repos/typesafe-query/typesafe-query/contents/{+path}","compare_url":"https://api.github.com/repos/typesafe-query/typesafe-query/compare/{base}...{head}","merges_url":"https://api.github.com/repos/typesafe-query/typesafe-query/merges","archive_url":"https://api.github.com/repos/typesafe-query/typesafe-query/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/typesafe-query/typesafe-query/downloads","issues_url":"https://api.github.com/repos/typesafe-query/typesafe-query/issues{/number}","pulls_url":"https://api.github.com/repos/typesafe-query/typesafe-query/pulls{/number}","milestones_url":"https://api.github.com/repos/typesafe-query/typesafe-query/milestones{/number}","notifications_url":"https://api.github.com/repos/typesafe-query/typesafe-query/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/typesafe-query/typesafe-query/labels{/name}","releases_url":"https://api.github.com/repos/typesafe-query/typesafe-query/releases{/id}","deployments_url":"https://api.github.com/repos/typesafe-query/typesafe-query/deployments","created_at":"2015-09-11T03:40:44Z","updated_at":"2016-01-14T04:47:30Z","pushed_at":"2016-02-24T03:00:00Z","git_url":"git://github.com/typesafe-query/typesafe-query.git","ssh_url":"git@github.com:typesafe-query/typesafe-query.git","clone_url":"https://github.com/typesafe-query/typesafe-query.git","svn_url":"https://github.com/typesafe-query/typesafe-query","homepage":null,"size":303,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":38,"forks":1,"open_issues":38,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/typesafe-query/typesafe-query/pulls/101"},"html":{"href":"https://github.com/typesafe-query/typesafe-query/pull/101"},"issue":{"href":"https://api.github.com/repos/typesafe-query/typesafe-query/issues/101"},"comments":{"href":"https://api.github.com/repos/typesafe-query/typesafe-query/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/typesafe-query/typesafe-query/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/typesafe-query/typesafe-query/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/typesafe-query/typesafe-query/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/typesafe-query/typesafe-query/statuses/d6bde5b49bc6891defb33c2cff47c8af4a988474"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"master-of-sugar","id":865716,"avatar_url":"https://avatars.githubusercontent.com/u/865716?v=3","gravatar_id":"","url":"https://api.github.com/users/master-of-sugar","html_url":"https://github.com/master-of-sugar","followers_url":"https://api.github.com/users/master-of-sugar/followers","following_url":"https://api.github.com/users/master-of-sugar/following{/other_user}","gists_url":"https://api.github.com/users/master-of-sugar/gists{/gist_id}","starred_url":"https://api.github.com/users/master-of-sugar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/master-of-sugar/subscriptions","organizations_url":"https://api.github.com/users/master-of-sugar/orgs","repos_url":"https://api.github.com/users/master-of-sugar/repos","events_url":"https://api.github.com/users/master-of-sugar/events{/privacy}","received_events_url":"https://api.github.com/users/master-of-sugar/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":400,"deletions":0,"changed_files":8}}