{"action":"opened","issue":{"url":"https://api.github.com/repos/bendem/sql-streams/issues/1","repository_url":"https://api.github.com/repos/bendem/sql-streams","labels_url":"https://api.github.com/repos/bendem/sql-streams/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bendem/sql-streams/issues/1/comments","events_url":"https://api.github.com/repos/bendem/sql-streams/issues/1/events","html_url":"https://github.com/bendem/sql-streams/issues/1","id":151652553,"number":1,"title":"Improve join queries mapping","user":{"login":"bendem","id":2681677,"avatar_url":"https://avatars.githubusercontent.com/u/2681677?v=3","gravatar_id":"","url":"https://api.github.com/users/bendem","html_url":"https://github.com/bendem","followers_url":"https://api.github.com/users/bendem/followers","following_url":"https://api.github.com/users/bendem/following{/other_user}","gists_url":"https://api.github.com/users/bendem/gists{/gist_id}","starred_url":"https://api.github.com/users/bendem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendem/subscriptions","organizations_url":"https://api.github.com/users/bendem/orgs","repos_url":"https://api.github.com/users/bendem/repos","events_url":"https://api.github.com/users/bendem/events{/privacy}","received_events_url":"https://api.github.com/users/bendem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bendem/sql-streams/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-28T14:15:31Z","updated_at":"2016-04-28T14:15:31Z","closed_at":null,"body":"```java\r\nStream<Tuple2<R1, R2>> Query#mapJoining(Class<R1>, Class<R2>);\r\n```\r\nwhich could be used like\r\n```java\r\nMap<R1, List<R2>> r2sByR1 = stream.collect(groupingBy(Tuple2::left));\r\n```\r\n\r\nThat'd imply either a dependency like JOOL (meh) or writing `Tuple[N]` classes."}}