{"action":"created","comment":{"url":"https://api.github.com/repos/realm/realm-java/pulls/comments/41139534","id":41139534,"diff_hunk":"@@ -859,21 +861,219 @@ JNIEXPORT jlong JNICALL Java_io_realm_internal_TableQuery_nativeFind(\n     return -1;\n }\n \n+std::unique_ptr<Query> getHandoverQuery (jlong bgSharedGroupPtr, jlong replicationPtr, jlong queryPtr) {\n+    SharedGroup::Handover <Query> *handoverQueryPtr = reinterpret_cast<SharedGroup::Handover <Query> * > (queryPtr);\n+    std::unique_ptr <SharedGroup::Handover<Query>> handoverQuery(handoverQueryPtr);\n+\n+    SG(bgSharedGroupPtr)->end_read();\n+\n+    SharedGroup::VersionID currentVersion = SG(bgSharedGroupPtr)->get_version_of_current_transaction();\n+    bool isDifferentVersions = (currentVersion != handoverQuery->version);\n+    if (isDifferentVersions) {\n+        SG(bgSharedGroupPtr)->begin_read(handoverQuery->version);\n+    } else {\n+        SG(bgSharedGroupPtr)->begin_read();\n+    }\n+\n+    std::unique_ptr <Query> query = SG(bgSharedGroupPtr)->import_from_handover(std::move(handoverQuery));\n+    if (isDifferentVersions) {\n+        LangBindHelper::advance_read(*SG(bgSharedGroupPtr), *CH(replicationPtr));\n+    }\n+\n+    return query;\n+}\n+\n+JNIEXPORT jlong JNICALL Java_io_realm_internal_TableQuery_nativeFindWithHandover(\n+    JNIEnv* env, jobject, jlong bgSharedGroupPtr, jlong replicationPtr, jlong queryPtr, jlong fromTableRow)\n+{\n+    TR_ENTER()\n+    try {\n+        std::unique_ptr <Query> query = getHandoverQuery (bgSharedGroupPtr, replicationPtr, queryPtr);\n+        Table* table = query->get_table().get();\n+\n+        if (!QUERY_VALID(env, query.get())) {\n+            return 0;\n+        }\n+\n+        // It's valid to go 1 past the end index\n+        if ((fromTableRow < 0) || (S(fromTableRow) > table->size())) {\n+            // below check will fail with appropriate exception\n+            (void) ROW_INDEX_VALID(env, table, fromTableRow);\n+            return 0;\n+        }\n+\n+        size_t r = query->find(S(fromTableRow));\n+        if (r == not_found) {\n+            return 0;\n+        } else {\n+            // handover the result\n+            Row row = (*table)[r];\n+            std::unique_ptr <SharedGroup::Handover<Row>> handover = SG(\n+                    bgSharedGroupPtr)->export_for_handover(row);\n+            return reinterpret_cast<jlong>(handover.release());\n+        }\n+\n+    } CATCH_STD()\n+    return 0;\n+}\n+\n+\n JNIEXPORT jlong JNICALL Java_io_realm_internal_TableQuery_nativeFindAll(\n     JNIEnv* env, jobject, jlong nativeQueryPtr, jlong start, jlong end, jlong limit)\n {\n-    Query* pQuery = Q(nativeQueryPtr);\n-    Table* pTable = pQuery->get_table().get();\n-    if (!QUERY_VALID(env, pQuery) ||\n-        !ROW_INDEXES_VALID(env, pTable, start, end, limit))\n+    TR_ENTER()\n+    Query* query = Q(nativeQueryPtr);\n+    Table* table = query->get_table().get();\n+    if (!QUERY_VALID(env, query) ||\n+        !ROW_INDEXES_VALID(env, table, start, end, limit))\n         return -1;\n     try {\n-        TableView* pResultView = new TableView( pQuery->find_all(S(start), S(end), S(limit)) );\n-        return reinterpret_cast<jlong>(pResultView);\n+        TableView* tableView = new TableView( query->find_all(S(start), S(end), S(limit)) );\n+        return reinterpret_cast<jlong>(tableView);\n     } CATCH_STD()\n     return -1;\n }\n \n+JNIEXPORT jlong JNICALL Java_io_realm_internal_TableQuery_nativeFindAllWithHandover\n+  (JNIEnv *env, jobject, jlong bgSharedGroupPtr, jlong replicationPtr, jlong queryPtr, jlong start, jlong end, jlong limit)\n+  {\n+      TR_ENTER()\n+      try {\n+          std::unique_ptr <Query> query = getHandoverQuery (bgSharedGroupPtr, replicationPtr, queryPtr);\n+          Table* table = query->get_table().get();\n+\n+          if (!QUERY_VALID(env, query.get()) ||\n+              !ROW_INDEXES_VALID(env, table, start, end, limit)) {\n+              return 0;\n+          }\n+\n+          // run the query\n+          TableView* tableView = new TableView(query->find_all(S(start), S(end), S(limit)));\n+\n+          // handover the result\n+          std::unique_ptr <SharedGroup::Handover<TableView>> handover = SG(\n+                  bgSharedGroupPtr)->export_for_handover(*tableView, MutableSourcePayload::Move);\n+\n+          return reinterpret_cast<jlong>(handover.release());\n+\n+      } CATCH_STD()\n+      return 0;\n+  }\n+\n+JNIEXPORT jlong JNICALL Java_io_realm_internal_TableQuery_nativeFindAllSortedWithHandover\n+  (JNIEnv *env, jobject, jlong bgSharedGroupPtr, jlong replicationPtr, jlong queryPtr, jlong start, jlong end, jlong limit, jlong columnIndex, jboolean ascending)\n+  {\n+      TR_ENTER()\n+      try {\n+          std::unique_ptr <Query> query = getHandoverQuery (bgSharedGroupPtr, replicationPtr, queryPtr);\n+          Table* table = query->get_table().get();\n+\n+          if (!QUERY_VALID(env, query.get()) || !ROW_INDEXES_VALID(env, table, start, end, limit))\n+              return 0;\n+\n+            // run the query\n+            TableView* tableView = new TableView( query->find_all(S(start), S(end), S(limit)) );\n+\n+            // sorting the results\n+            if (!COL_INDEX_VALID(env, tableView, columnIndex))\n+                      return 0;\n+              int colType = tableView->get_column_type( S(columnIndex) );\n+\n+              switch (colType) {\n+                  case type_Bool:\n+                  case type_Int:\n+                  case type_DateTime:\n+                  case type_Float:\n+                  case type_Double:\n+                  case type_String:\n+                      tableView->sort( S(columnIndex), ascending != 0 ? true : false);\n+                      break;\n+                  default:\n+                      ThrowException(env, IllegalArgument, \"Sort is currently only supported on integer, float, double, boolean, Date, and String columns.\");\n+                      return 0;\n+              }\n+\n+            // handover the result\n+            std::unique_ptr<SharedGroup::Handover<TableView> > handover = SG(bgSharedGroupPtr)->export_for_handover(*tableView, MutableSourcePayload::Move);\n+\n+            return reinterpret_cast<jlong>(handover.release());\n+\n+      } CATCH_STD()\n+      return 0;\n+  }\n+\n+JNIEXPORT jlong JNICALL Java_io_realm_internal_TableQuery_nativeFindAllMultiSortedWithHandover\n+  (JNIEnv *env, jobject, jlong bgSharedGroupPtr, jlong replicationPtr, jlong queryPtr, jlong start, jlong end, jlong limit, jlongArray columnIndices, jbooleanArray ascending)\n+  {\n+      TR_ENTER()\n+      try {\n+          jsize arr_len = env->GetArrayLength(columnIndices);\n+          jsize asc_len = env->GetArrayLength(ascending);\n+\n+          jlong* long_arr = env->GetLongArrayElements(columnIndices, NULL);\n+          jboolean* bool_arr = env->GetBooleanArrayElements(ascending, NULL);\n+\n+          if (arr_len == 0) {\n+              ThrowException(env, IllegalArgument, \"You must provide at least one field name.\");\n+              return 0;\n+          }\n+          if (asc_len == 0) {\n+              ThrowException(env, IllegalArgument, \"You must provide at least one sort order.\");\n+              return 0;\n+          }\n+          if (arr_len != asc_len) {\n+              ThrowException(env, IllegalArgument, \"Number of fields and sort orders do not match.\");\n+              return 0;\n+          }\n+\n+          // import the handover query pointer using the background SharedGroup\n+          std::unique_ptr <Query> query = getHandoverQuery (bgSharedGroupPtr, replicationPtr, queryPtr);\n+          Table* table = query->get_table().get();\n+\n+          if (!QUERY_VALID(env, query.get()) || !ROW_INDEXES_VALID(env, table, start, end, limit))\n+              return 0;\n+\n+            // run the query\n+            TableView* tableView = new TableView( query->find_all(S(start), S(end), S(limit)) );","path":"realm-jni/src/io_realm_internal_TableQuery.cpp","position":192,"original_position":192,"commit_id":"9f35f0a433ca66d4bb128aa790ae77bd048695e5","original_commit_id":"9f35f0a433ca66d4bb128aa790ae77bd048695e5","user":{"login":"kneth","id":1225363,"avatar_url":"https://avatars.githubusercontent.com/u/1225363?v=3","gravatar_id":"","url":"https://api.github.com/users/kneth","html_url":"https://github.com/kneth","followers_url":"https://api.github.com/users/kneth/followers","following_url":"https://api.github.com/users/kneth/following{/other_user}","gists_url":"https://api.github.com/users/kneth/gists{/gist_id}","starred_url":"https://api.github.com/users/kneth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kneth/subscriptions","organizations_url":"https://api.github.com/users/kneth/orgs","repos_url":"https://api.github.com/users/kneth/repos","events_url":"https://api.github.com/users/kneth/events{/privacy}","received_events_url":"https://api.github.com/users/kneth/received_events","type":"User","site_admin":false},"body":"No indentation","created_at":"2015-10-05T12:52:44Z","updated_at":"2015-10-05T12:52:44Z","html_url":"https://github.com/realm/realm-java/pull/1214#discussion_r41139534","pull_request_url":"https://api.github.com/repos/realm/realm-java/pulls/1214","_links":{"self":{"href":"https://api.github.com/repos/realm/realm-java/pulls/comments/41139534"},"html":{"href":"https://github.com/realm/realm-java/pull/1214#discussion_r41139534"},"pull_request":{"href":"https://api.github.com/repos/realm/realm-java/pulls/1214"}}},"pull_request":{"url":"https://api.github.com/repos/realm/realm-java/pulls/1214","id":37651413,"html_url":"https://github.com/realm/realm-java/pull/1214","diff_url":"https://github.com/realm/realm-java/pull/1214.diff","patch_url":"https://github.com/realm/realm-java/pull/1214.patch","issue_url":"https://api.github.com/repos/realm/realm-java/issues/1214","number":1214,"state":"open","locked":false,"title":"async queries & write transaction","user":{"login":"nhachicha","id":1793238,"avatar_url":"https://avatars.githubusercontent.com/u/1793238?v=3","gravatar_id":"","url":"https://api.github.com/users/nhachicha","html_url":"https://github.com/nhachicha","followers_url":"https://api.github.com/users/nhachicha/followers","following_url":"https://api.github.com/users/nhachicha/following{/other_user}","gists_url":"https://api.github.com/users/nhachicha/gists{/gist_id}","starred_url":"https://api.github.com/users/nhachicha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhachicha/subscriptions","organizations_url":"https://api.github.com/users/nhachicha/orgs","repos_url":"https://api.github.com/users/nhachicha/repos","events_url":"https://api.github.com/users/nhachicha/events{/privacy}","received_events_url":"https://api.github.com/users/nhachicha/received_events","type":"User","site_admin":false},"body":" __Support async queries & write transactions:__\r\n*new methods:*\r\n* `findAllAsync`\r\n* `findAllSortedAsync`\r\n* `findFirstAsync`\r\n\r\nthey accept the same parameters as their synchronous counterpart, but they return immediately a _promise_, as described [here] (https://github.com/realm/realm-wiki/wiki/%5BDRAFT%5D-Asynchronous-queries-design-proposal)\r\nNote: the interface `RealmCollection` was not add so far, because we have only one return type `RealmResults` for both sync & async, plus retrieving  `RealmList` asynchronously was outside of this scope\r\n\r\n__Support async write transactions:__\r\n`executeTransaction` is overloaded to accept a new parameters `Transaction.Callback`. This will run the write transaction on a worker thread.\r\nThe async transaction returns a `Request` object that can be used to cancel a scheduled/pending write transaction (if it didn't already complete)\r\n\r\nFixes #896 #1224 #1207 \r\n\r\n- [x] reflect breaking changes from Core `0.93.0` branch & build against it \r\n- [ ] rename `where` to `query` ?","created_at":"2015-06-15T00:16:28Z","updated_at":"2015-10-05T12:52:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"767d603d28a01f5d958a8750d91ab06667df4663","assignee":{"login":"nhachicha","id":1793238,"avatar_url":"https://avatars.githubusercontent.com/u/1793238?v=3","gravatar_id":"","url":"https://api.github.com/users/nhachicha","html_url":"https://github.com/nhachicha","followers_url":"https://api.github.com/users/nhachicha/followers","following_url":"https://api.github.com/users/nhachicha/following{/other_user}","gists_url":"https://api.github.com/users/nhachicha/gists{/gist_id}","starred_url":"https://api.github.com/users/nhachicha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhachicha/subscriptions","organizations_url":"https://api.github.com/users/nhachicha/orgs","repos_url":"https://api.github.com/users/nhachicha/repos","events_url":"https://api.github.com/users/nhachicha/events{/privacy}","received_events_url":"https://api.github.com/users/nhachicha/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/realm/realm-java/pulls/1214/commits","review_comments_url":"https://api.github.com/repos/realm/realm-java/pulls/1214/comments","review_comment_url":"https://api.github.com/repos/realm/realm-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/1214/comments","statuses_url":"https://api.github.com/repos/realm/realm-java/statuses/9f35f0a433ca66d4bb128aa790ae77bd048695e5","head":{"label":"realm:nh-async-query","ref":"nh-async-query","sha":"9f35f0a433ca66d4bb128aa790ae77bd048695e5","user":{"login":"realm","id":7575099,"avatar_url":"https://avatars.githubusercontent.com/u/7575099?v=3","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"repo":{"id":4084908,"name":"realm-java","full_name":"realm/realm-java","owner":{"login":"realm","id":7575099,"avatar_url":"https://avatars.githubusercontent.com/u/7575099?v=3","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/realm/realm-java","description":"Realm is a mobile database: a replacement for SQLite & ORMs","fork":false,"url":"https://api.github.com/repos/realm/realm-java","forks_url":"https://api.github.com/repos/realm/realm-java/forks","keys_url":"https://api.github.com/repos/realm/realm-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/realm/realm-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/realm/realm-java/teams","hooks_url":"https://api.github.com/repos/realm/realm-java/hooks","issue_events_url":"https://api.github.com/repos/realm/realm-java/issues/events{/number}","events_url":"https://api.github.com/repos/realm/realm-java/events","assignees_url":"https://api.github.com/repos/realm/realm-java/assignees{/user}","branches_url":"https://api.github.com/repos/realm/realm-java/branches{/branch}","tags_url":"https://api.github.com/repos/realm/realm-java/tags","blobs_url":"https://api.github.com/repos/realm/realm-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/realm/realm-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/realm/realm-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/realm/realm-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/realm/realm-java/statuses/{sha}","languages_url":"https://api.github.com/repos/realm/realm-java/languages","stargazers_url":"https://api.github.com/repos/realm/realm-java/stargazers","contributors_url":"https://api.github.com/repos/realm/realm-java/contributors","subscribers_url":"https://api.github.com/repos/realm/realm-java/subscribers","subscription_url":"https://api.github.com/repos/realm/realm-java/subscription","commits_url":"https://api.github.com/repos/realm/realm-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/realm/realm-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/realm/realm-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/realm/realm-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/realm/realm-java/contents/{+path}","compare_url":"https://api.github.com/repos/realm/realm-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/realm/realm-java/merges","archive_url":"https://api.github.com/repos/realm/realm-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/realm/realm-java/downloads","issues_url":"https://api.github.com/repos/realm/realm-java/issues{/number}","pulls_url":"https://api.github.com/repos/realm/realm-java/pulls{/number}","milestones_url":"https://api.github.com/repos/realm/realm-java/milestones{/number}","notifications_url":"https://api.github.com/repos/realm/realm-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/realm/realm-java/labels{/name}","releases_url":"https://api.github.com/repos/realm/realm-java/releases{/id}","created_at":"2012-04-20T09:18:42Z","updated_at":"2015-10-05T04:19:40Z","pushed_at":"2015-10-05T12:38:18Z","git_url":"git://github.com/realm/realm-java.git","ssh_url":"git@github.com:realm/realm-java.git","clone_url":"https://github.com/realm/realm-java.git","svn_url":"https://github.com/realm/realm-java","homepage":"http://realm.io","size":57707,"stargazers_count":2555,"watchers_count":2555,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":262,"mirror_url":null,"open_issues_count":159,"forks":262,"open_issues":159,"watchers":2555,"default_branch":"master"}},"base":{"label":"realm:master","ref":"master","sha":"9dc76c269f71fd60d2c6ae405aad905758214b52","user":{"login":"realm","id":7575099,"avatar_url":"https://avatars.githubusercontent.com/u/7575099?v=3","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"repo":{"id":4084908,"name":"realm-java","full_name":"realm/realm-java","owner":{"login":"realm","id":7575099,"avatar_url":"https://avatars.githubusercontent.com/u/7575099?v=3","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/realm/realm-java","description":"Realm is a mobile database: a replacement for SQLite & ORMs","fork":false,"url":"https://api.github.com/repos/realm/realm-java","forks_url":"https://api.github.com/repos/realm/realm-java/forks","keys_url":"https://api.github.com/repos/realm/realm-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/realm/realm-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/realm/realm-java/teams","hooks_url":"https://api.github.com/repos/realm/realm-java/hooks","issue_events_url":"https://api.github.com/repos/realm/realm-java/issues/events{/number}","events_url":"https://api.github.com/repos/realm/realm-java/events","assignees_url":"https://api.github.com/repos/realm/realm-java/assignees{/user}","branches_url":"https://api.github.com/repos/realm/realm-java/branches{/branch}","tags_url":"https://api.github.com/repos/realm/realm-java/tags","blobs_url":"https://api.github.com/repos/realm/realm-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/realm/realm-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/realm/realm-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/realm/realm-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/realm/realm-java/statuses/{sha}","languages_url":"https://api.github.com/repos/realm/realm-java/languages","stargazers_url":"https://api.github.com/repos/realm/realm-java/stargazers","contributors_url":"https://api.github.com/repos/realm/realm-java/contributors","subscribers_url":"https://api.github.com/repos/realm/realm-java/subscribers","subscription_url":"https://api.github.com/repos/realm/realm-java/subscription","commits_url":"https://api.github.com/repos/realm/realm-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/realm/realm-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/realm/realm-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/realm/realm-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/realm/realm-java/contents/{+path}","compare_url":"https://api.github.com/repos/realm/realm-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/realm/realm-java/merges","archive_url":"https://api.github.com/repos/realm/realm-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/realm/realm-java/downloads","issues_url":"https://api.github.com/repos/realm/realm-java/issues{/number}","pulls_url":"https://api.github.com/repos/realm/realm-java/pulls{/number}","milestones_url":"https://api.github.com/repos/realm/realm-java/milestones{/number}","notifications_url":"https://api.github.com/repos/realm/realm-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/realm/realm-java/labels{/name}","releases_url":"https://api.github.com/repos/realm/realm-java/releases{/id}","created_at":"2012-04-20T09:18:42Z","updated_at":"2015-10-05T04:19:40Z","pushed_at":"2015-10-05T12:38:18Z","git_url":"git://github.com/realm/realm-java.git","ssh_url":"git@github.com:realm/realm-java.git","clone_url":"https://github.com/realm/realm-java.git","svn_url":"https://github.com/realm/realm-java","homepage":"http://realm.io","size":57707,"stargazers_count":2555,"watchers_count":2555,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":262,"mirror_url":null,"open_issues_count":159,"forks":262,"open_issues":159,"watchers":2555,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/realm/realm-java/pulls/1214"},"html":{"href":"https://github.com/realm/realm-java/pull/1214"},"issue":{"href":"https://api.github.com/repos/realm/realm-java/issues/1214"},"comments":{"href":"https://api.github.com/repos/realm/realm-java/issues/1214/comments"},"review_comments":{"href":"https://api.github.com/repos/realm/realm-java/pulls/1214/comments"},"review_comment":{"href":"https://api.github.com/repos/realm/realm-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/realm/realm-java/pulls/1214/commits"},"statuses":{"href":"https://api.github.com/repos/realm/realm-java/statuses/9f35f0a433ca66d4bb128aa790ae77bd048695e5"}}}}