{"action":"created","comment":{"url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/pulls/comments/45760743","id":45760743,"diff_hunk":"@@ -0,0 +1,84 @@\n+package akka.persistence.cassandra\n+\n+import java.lang.{Long => JLong}\n+import java.nio.ByteBuffer\n+\n+import scala.collection.JavaConverters._\n+\n+import akka.persistence.PersistentRepr\n+import akka.persistence.PersistentRepr._\n+import akka.persistence.cassandra.query.journal.{CassandraReadStatements, CassandraReadJournalConfig}\n+import akka.serialization.Serialization\n+import com.datastax.driver.core.utils.Bytes\n+import com.datastax.driver.core.{ResultSet, Row, Session}\n+\n+final class EventsByPersistenceIdIterator(","path":"src/main/scala/akka/persistence/cassandra/EventsByPersistenceIdIterator.scala","position":15,"original_position":15,"commit_id":"06626c2982c06a1e42444e7adaf5928f265463d1","original_commit_id":"1e66b86e4098b70a8af7b0b8dc09a18bd677e3db","user":{"login":"zapletal-martin","id":6018812,"avatar_url":"https://avatars.githubusercontent.com/u/6018812?v=3","gravatar_id":"","url":"https://api.github.com/users/zapletal-martin","html_url":"https://github.com/zapletal-martin","followers_url":"https://api.github.com/users/zapletal-martin/followers","following_url":"https://api.github.com/users/zapletal-martin/following{/other_user}","gists_url":"https://api.github.com/users/zapletal-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/zapletal-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zapletal-martin/subscriptions","organizations_url":"https://api.github.com/users/zapletal-martin/orgs","repos_url":"https://api.github.com/users/zapletal-martin/repos","events_url":"https://api.github.com/users/zapletal-martin/events{/privacy}","received_events_url":"https://api.github.com/users/zapletal-martin/received_events","type":"User","site_admin":false},"body":"I agree. My intention originally was to reuse the existing proven code in PoC to avoid introducing potentially new issues where it was not the main point of PoC and address that separately later.","created_at":"2015-11-24T16:43:57Z","updated_at":"2015-11-24T16:43:57Z","html_url":"https://github.com/krasserm/akka-persistence-cassandra/pull/124#discussion_r45760743","pull_request_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/pulls/124","_links":{"self":{"href":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/pulls/comments/45760743"},"html":{"href":"https://github.com/krasserm/akka-persistence-cassandra/pull/124#discussion_r45760743"},"pull_request":{"href":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/pulls/124"}}},"pull_request":{"url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/pulls/124","id":51593864,"html_url":"https://github.com/krasserm/akka-persistence-cassandra/pull/124","diff_url":"https://github.com/krasserm/akka-persistence-cassandra/pull/124.diff","patch_url":"https://github.com/krasserm/akka-persistence-cassandra/pull/124.patch","issue_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/issues/124","number":124,"state":"open","locked":false,"title":"Akka persistence cassandra persistence query","user":{"login":"zapletal-martin","id":6018812,"avatar_url":"https://avatars.githubusercontent.com/u/6018812?v=3","gravatar_id":"","url":"https://api.github.com/users/zapletal-martin","html_url":"https://github.com/zapletal-martin","followers_url":"https://api.github.com/users/zapletal-martin/followers","following_url":"https://api.github.com/users/zapletal-martin/following{/other_user}","gists_url":"https://api.github.com/users/zapletal-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/zapletal-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zapletal-martin/subscriptions","organizations_url":"https://api.github.com/users/zapletal-martin/orgs","repos_url":"https://api.github.com/users/zapletal-martin/repos","events_url":"https://api.github.com/users/zapletal-martin/events{/privacy}","received_events_url":"https://api.github.com/users/zapletal-martin/received_events","type":"User","site_admin":false},"body":"Read journal, configuration, eventsbypersistenceid query.","created_at":"2015-11-23T23:03:53Z","updated_at":"2015-11-24T16:43:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5fd82da8b3c4b65a72a829d431adf286b24932c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/pulls/124/commits","review_comments_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/pulls/124/comments","review_comment_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/issues/124/comments","statuses_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/statuses/06626c2982c06a1e42444e7adaf5928f265463d1","head":{"label":"zapletal-martin:wip-materialized-views-persistence-query","ref":"wip-materialized-views-persistence-query","sha":"06626c2982c06a1e42444e7adaf5928f265463d1","user":{"login":"zapletal-martin","id":6018812,"avatar_url":"https://avatars.githubusercontent.com/u/6018812?v=3","gravatar_id":"","url":"https://api.github.com/users/zapletal-martin","html_url":"https://github.com/zapletal-martin","followers_url":"https://api.github.com/users/zapletal-martin/followers","following_url":"https://api.github.com/users/zapletal-martin/following{/other_user}","gists_url":"https://api.github.com/users/zapletal-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/zapletal-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zapletal-martin/subscriptions","organizations_url":"https://api.github.com/users/zapletal-martin/orgs","repos_url":"https://api.github.com/users/zapletal-martin/repos","events_url":"https://api.github.com/users/zapletal-martin/events{/privacy}","received_events_url":"https://api.github.com/users/zapletal-martin/received_events","type":"User","site_admin":false},"repo":{"id":41276761,"name":"akka-persistence-cassandra","full_name":"zapletal-martin/akka-persistence-cassandra","owner":{"login":"zapletal-martin","id":6018812,"avatar_url":"https://avatars.githubusercontent.com/u/6018812?v=3","gravatar_id":"","url":"https://api.github.com/users/zapletal-martin","html_url":"https://github.com/zapletal-martin","followers_url":"https://api.github.com/users/zapletal-martin/followers","following_url":"https://api.github.com/users/zapletal-martin/following{/other_user}","gists_url":"https://api.github.com/users/zapletal-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/zapletal-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zapletal-martin/subscriptions","organizations_url":"https://api.github.com/users/zapletal-martin/orgs","repos_url":"https://api.github.com/users/zapletal-martin/repos","events_url":"https://api.github.com/users/zapletal-martin/events{/privacy}","received_events_url":"https://api.github.com/users/zapletal-martin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zapletal-martin/akka-persistence-cassandra","description":"A replicated Akka Persistence journal backed by Apache Cassandra","fork":true,"url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra","forks_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/forks","keys_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/teams","hooks_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/hooks","issue_events_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/issues/events{/number}","events_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/events","assignees_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/assignees{/user}","branches_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/branches{/branch}","tags_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/tags","blobs_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/git/refs{/sha}","trees_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/statuses/{sha}","languages_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/languages","stargazers_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/stargazers","contributors_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/contributors","subscribers_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/subscribers","subscription_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/subscription","commits_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/commits{/sha}","git_commits_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/git/commits{/sha}","comments_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/comments{/number}","issue_comment_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/issues/comments{/number}","contents_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/contents/{+path}","compare_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/merges","archive_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/downloads","issues_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/issues{/number}","pulls_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/pulls{/number}","milestones_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/milestones{/number}","notifications_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/labels{/name}","releases_url":"https://api.github.com/repos/zapletal-martin/akka-persistence-cassandra/releases{/id}","created_at":"2015-08-24T02:12:35Z","updated_at":"2015-08-24T02:12:35Z","pushed_at":"2015-11-24T00:05:11Z","git_url":"git://github.com/zapletal-martin/akka-persistence-cassandra.git","ssh_url":"git@github.com:zapletal-martin/akka-persistence-cassandra.git","clone_url":"https://github.com/zapletal-martin/akka-persistence-cassandra.git","svn_url":"https://github.com/zapletal-martin/akka-persistence-cassandra","homepage":"","size":382,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"krasserm:wip-materialized-views-persistence-query","ref":"wip-materialized-views-persistence-query","sha":"b0c534cf8883d82e5c83901e50f00e54ab8595ed","user":{"login":"krasserm","id":202907,"avatar_url":"https://avatars.githubusercontent.com/u/202907?v=3","gravatar_id":"","url":"https://api.github.com/users/krasserm","html_url":"https://github.com/krasserm","followers_url":"https://api.github.com/users/krasserm/followers","following_url":"https://api.github.com/users/krasserm/following{/other_user}","gists_url":"https://api.github.com/users/krasserm/gists{/gist_id}","starred_url":"https://api.github.com/users/krasserm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krasserm/subscriptions","organizations_url":"https://api.github.com/users/krasserm/orgs","repos_url":"https://api.github.com/users/krasserm/repos","events_url":"https://api.github.com/users/krasserm/events{/privacy}","received_events_url":"https://api.github.com/users/krasserm/received_events","type":"User","site_admin":false},"repo":{"id":15447419,"name":"akka-persistence-cassandra","full_name":"krasserm/akka-persistence-cassandra","owner":{"login":"krasserm","id":202907,"avatar_url":"https://avatars.githubusercontent.com/u/202907?v=3","gravatar_id":"","url":"https://api.github.com/users/krasserm","html_url":"https://github.com/krasserm","followers_url":"https://api.github.com/users/krasserm/followers","following_url":"https://api.github.com/users/krasserm/following{/other_user}","gists_url":"https://api.github.com/users/krasserm/gists{/gist_id}","starred_url":"https://api.github.com/users/krasserm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krasserm/subscriptions","organizations_url":"https://api.github.com/users/krasserm/orgs","repos_url":"https://api.github.com/users/krasserm/repos","events_url":"https://api.github.com/users/krasserm/events{/privacy}","received_events_url":"https://api.github.com/users/krasserm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/krasserm/akka-persistence-cassandra","description":"A replicated Akka Persistence journal backed by Apache Cassandra","fork":false,"url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra","forks_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/forks","keys_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/teams","hooks_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/hooks","issue_events_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/issues/events{/number}","events_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/events","assignees_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/assignees{/user}","branches_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/branches{/branch}","tags_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/tags","blobs_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/git/refs{/sha}","trees_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/statuses/{sha}","languages_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/languages","stargazers_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/stargazers","contributors_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/contributors","subscribers_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/subscribers","subscription_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/subscription","commits_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/commits{/sha}","git_commits_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/git/commits{/sha}","comments_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/comments{/number}","issue_comment_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/issues/comments{/number}","contents_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/contents/{+path}","compare_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/merges","archive_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/downloads","issues_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/issues{/number}","pulls_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/pulls{/number}","milestones_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/milestones{/number}","notifications_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/labels{/name}","releases_url":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/releases{/id}","created_at":"2013-12-26T06:47:08Z","updated_at":"2015-11-24T15:22:31Z","pushed_at":"2015-11-24T08:33:24Z","git_url":"git://github.com/krasserm/akka-persistence-cassandra.git","ssh_url":"git@github.com:krasserm/akka-persistence-cassandra.git","clone_url":"https://github.com/krasserm/akka-persistence-cassandra.git","svn_url":"https://github.com/krasserm/akka-persistence-cassandra","homepage":"","size":420,"stargazers_count":172,"watchers_count":172,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":23,"forks":61,"open_issues":23,"watchers":172,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/pulls/124"},"html":{"href":"https://github.com/krasserm/akka-persistence-cassandra/pull/124"},"issue":{"href":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/issues/124"},"comments":{"href":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/krasserm/akka-persistence-cassandra/statuses/06626c2982c06a1e42444e7adaf5928f265463d1"}}}}