{"action":"created","comment":{"url":"https://api.github.com/repos/influxdata/influxdb-java/pulls/comments/87713422","pull_request_review_id":8315867,"id":87713422,"diff_hunk":"@@ -100,6 +100,37 @@ public void testQuery() {\n \t}\n \n \t/**\n+\t * Test multiple queries with an HTTP GET request return results having the same size of queries.\n+\t */\n+\t@Test\n+\tpublic void testMultipleQuery() {\n+\t\tString dbName = \"unittest_\" + System.currentTimeMillis();\n+\t\ttry {\n+\t\t\tthis.influxDB.createDatabase(dbName);\n+\t\t\tQueryResult result = this.influxDB.query(new Query(\"SELECT * FROM not_exists;SELECT * FROM not_exists\", dbName));\n+\t\t\tAssert.assertEquals(2, result.getResults().size());\n+\t\t} finally {\n+\t\t\tthis.influxDB.deleteDatabase(dbName);\n+\t\t}\n+\n+\t}\n+\n+\t/**\n+\t * Test multiple queries with an HTTP POST request return results having the same size of queries.\n+\t */\n+\t@Test\n+\tpublic void testPostQuery() {\n+\t\tString dbName = \"unittest_\" + System.currentTimeMillis();\n+\t\ttry {\n+\t\t\tthis.influxDB.createDatabase(dbName);","path":"src/test/java/org/influxdb/InfluxDBTest.java","position":26,"original_position":26,"commit_id":"01e17d3b23153bd609b102dabc7c5883fd6a381f","original_commit_id":"01e17d3b23153bd609b102dabc7c5883fd6a381f","user":{"login":"jiafu1115","id":5654180,"avatar_url":"https://avatars.githubusercontent.com/u/5654180?v=3","gravatar_id":"","url":"https://api.github.com/users/jiafu1115","html_url":"https://github.com/jiafu1115","followers_url":"https://api.github.com/users/jiafu1115/followers","following_url":"https://api.github.com/users/jiafu1115/following{/other_user}","gists_url":"https://api.github.com/users/jiafu1115/gists{/gist_id}","starred_url":"https://api.github.com/users/jiafu1115/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiafu1115/subscriptions","organizations_url":"https://api.github.com/users/jiafu1115/orgs","repos_url":"https://api.github.com/users/jiafu1115/repos","events_url":"https://api.github.com/users/jiafu1115/events{/privacy}","received_events_url":"https://api.github.com/users/jiafu1115/received_events","type":"User","site_admin":false},"body":"it is one of best practices instead of if it is necessary for this case. So it is up to you. just one advice for best practice.","created_at":"2016-11-13T14:23:49Z","updated_at":"2016-11-13T14:23:49Z","html_url":"https://github.com/influxdata/influxdb-java/pull/236#discussion_r87713422","pull_request_url":"https://api.github.com/repos/influxdata/influxdb-java/pulls/236","_links":{"self":{"href":"https://api.github.com/repos/influxdata/influxdb-java/pulls/comments/87713422"},"html":{"href":"https://github.com/influxdata/influxdb-java/pull/236#discussion_r87713422"},"pull_request":{"href":"https://api.github.com/repos/influxdata/influxdb-java/pulls/236"}}},"pull_request":{"url":"https://api.github.com/repos/influxdata/influxdb-java/pulls/236","id":92882611,"html_url":"https://github.com/influxdata/influxdb-java/pull/236","diff_url":"https://github.com/influxdata/influxdb-java/pull/236.diff","patch_url":"https://github.com/influxdata/influxdb-java/pull/236.patch","issue_url":"https://api.github.com/repos/influxdata/influxdb-java/issues/236","number":236,"state":"open","locked":false,"title":"using Field to Post","user":{"login":"shanexu","id":1257453,"avatar_url":"https://avatars.githubusercontent.com/u/1257453?v=3","gravatar_id":"","url":"https://api.github.com/users/shanexu","html_url":"https://github.com/shanexu","followers_url":"https://api.github.com/users/shanexu/followers","following_url":"https://api.github.com/users/shanexu/following{/other_user}","gists_url":"https://api.github.com/users/shanexu/gists{/gist_id}","starred_url":"https://api.github.com/users/shanexu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanexu/subscriptions","organizations_url":"https://api.github.com/users/shanexu/orgs","repos_url":"https://api.github.com/users/shanexu/repos","events_url":"https://api.github.com/users/shanexu/events{/privacy}","received_events_url":"https://api.github.com/users/shanexu/received_events","type":"User","site_admin":false},"body":"should use ```@Filed``` and ```@FormUrlEncoded```, or the arguments will encoded as query string append to request URL.","created_at":"2016-11-08T23:46:29Z","updated_at":"2016-11-13T14:23:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ed067c624aa38e1b1a6637534b947df8bd5ac26","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/influxdata/influxdb-java/pulls/236/commits","review_comments_url":"https://api.github.com/repos/influxdata/influxdb-java/pulls/236/comments","review_comment_url":"https://api.github.com/repos/influxdata/influxdb-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/influxdata/influxdb-java/issues/236/comments","statuses_url":"https://api.github.com/repos/influxdata/influxdb-java/statuses/01e17d3b23153bd609b102dabc7c5883fd6a381f","head":{"label":"shanexu:master","ref":"master","sha":"01e17d3b23153bd609b102dabc7c5883fd6a381f","user":{"login":"shanexu","id":1257453,"avatar_url":"https://avatars.githubusercontent.com/u/1257453?v=3","gravatar_id":"","url":"https://api.github.com/users/shanexu","html_url":"https://github.com/shanexu","followers_url":"https://api.github.com/users/shanexu/followers","following_url":"https://api.github.com/users/shanexu/following{/other_user}","gists_url":"https://api.github.com/users/shanexu/gists{/gist_id}","starred_url":"https://api.github.com/users/shanexu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanexu/subscriptions","organizations_url":"https://api.github.com/users/shanexu/orgs","repos_url":"https://api.github.com/users/shanexu/repos","events_url":"https://api.github.com/users/shanexu/events{/privacy}","received_events_url":"https://api.github.com/users/shanexu/received_events","type":"User","site_admin":false},"repo":{"id":73152754,"name":"influxdb-java","full_name":"shanexu/influxdb-java","owner":{"login":"shanexu","id":1257453,"avatar_url":"https://avatars.githubusercontent.com/u/1257453?v=3","gravatar_id":"","url":"https://api.github.com/users/shanexu","html_url":"https://github.com/shanexu","followers_url":"https://api.github.com/users/shanexu/followers","following_url":"https://api.github.com/users/shanexu/following{/other_user}","gists_url":"https://api.github.com/users/shanexu/gists{/gist_id}","starred_url":"https://api.github.com/users/shanexu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanexu/subscriptions","organizations_url":"https://api.github.com/users/shanexu/orgs","repos_url":"https://api.github.com/users/shanexu/repos","events_url":"https://api.github.com/users/shanexu/events{/privacy}","received_events_url":"https://api.github.com/users/shanexu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shanexu/influxdb-java","description":"Java client for InfluxDB","fork":true,"url":"https://api.github.com/repos/shanexu/influxdb-java","forks_url":"https://api.github.com/repos/shanexu/influxdb-java/forks","keys_url":"https://api.github.com/repos/shanexu/influxdb-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shanexu/influxdb-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shanexu/influxdb-java/teams","hooks_url":"https://api.github.com/repos/shanexu/influxdb-java/hooks","issue_events_url":"https://api.github.com/repos/shanexu/influxdb-java/issues/events{/number}","events_url":"https://api.github.com/repos/shanexu/influxdb-java/events","assignees_url":"https://api.github.com/repos/shanexu/influxdb-java/assignees{/user}","branches_url":"https://api.github.com/repos/shanexu/influxdb-java/branches{/branch}","tags_url":"https://api.github.com/repos/shanexu/influxdb-java/tags","blobs_url":"https://api.github.com/repos/shanexu/influxdb-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shanexu/influxdb-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shanexu/influxdb-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/shanexu/influxdb-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shanexu/influxdb-java/statuses/{sha}","languages_url":"https://api.github.com/repos/shanexu/influxdb-java/languages","stargazers_url":"https://api.github.com/repos/shanexu/influxdb-java/stargazers","contributors_url":"https://api.github.com/repos/shanexu/influxdb-java/contributors","subscribers_url":"https://api.github.com/repos/shanexu/influxdb-java/subscribers","subscription_url":"https://api.github.com/repos/shanexu/influxdb-java/subscription","commits_url":"https://api.github.com/repos/shanexu/influxdb-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/shanexu/influxdb-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/shanexu/influxdb-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/shanexu/influxdb-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/shanexu/influxdb-java/contents/{+path}","compare_url":"https://api.github.com/repos/shanexu/influxdb-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shanexu/influxdb-java/merges","archive_url":"https://api.github.com/repos/shanexu/influxdb-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shanexu/influxdb-java/downloads","issues_url":"https://api.github.com/repos/shanexu/influxdb-java/issues{/number}","pulls_url":"https://api.github.com/repos/shanexu/influxdb-java/pulls{/number}","milestones_url":"https://api.github.com/repos/shanexu/influxdb-java/milestones{/number}","notifications_url":"https://api.github.com/repos/shanexu/influxdb-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shanexu/influxdb-java/labels{/name}","releases_url":"https://api.github.com/repos/shanexu/influxdb-java/releases{/id}","deployments_url":"https://api.github.com/repos/shanexu/influxdb-java/deployments","created_at":"2016-11-08T05:35:38Z","updated_at":"2016-11-08T05:35:39Z","pushed_at":"2016-11-13T14:02:02Z","git_url":"git://github.com/shanexu/influxdb-java.git","ssh_url":"git@github.com:shanexu/influxdb-java.git","clone_url":"https://github.com/shanexu/influxdb-java.git","svn_url":"https://github.com/shanexu/influxdb-java","homepage":null,"size":368,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"influxdata:master","ref":"master","sha":"5d11e5fbaa399368f5cac10d8dbaad269ff75f75","user":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars.githubusercontent.com/u/5713248?v=3","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"repo":{"id":19323986,"name":"influxdb-java","full_name":"influxdata/influxdb-java","owner":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars.githubusercontent.com/u/5713248?v=3","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/influxdata/influxdb-java","description":"Java client for InfluxDB","fork":false,"url":"https://api.github.com/repos/influxdata/influxdb-java","forks_url":"https://api.github.com/repos/influxdata/influxdb-java/forks","keys_url":"https://api.github.com/repos/influxdata/influxdb-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/influxdata/influxdb-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/influxdata/influxdb-java/teams","hooks_url":"https://api.github.com/repos/influxdata/influxdb-java/hooks","issue_events_url":"https://api.github.com/repos/influxdata/influxdb-java/issues/events{/number}","events_url":"https://api.github.com/repos/influxdata/influxdb-java/events","assignees_url":"https://api.github.com/repos/influxdata/influxdb-java/assignees{/user}","branches_url":"https://api.github.com/repos/influxdata/influxdb-java/branches{/branch}","tags_url":"https://api.github.com/repos/influxdata/influxdb-java/tags","blobs_url":"https://api.github.com/repos/influxdata/influxdb-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/influxdata/influxdb-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/influxdata/influxdb-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/influxdata/influxdb-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/influxdata/influxdb-java/statuses/{sha}","languages_url":"https://api.github.com/repos/influxdata/influxdb-java/languages","stargazers_url":"https://api.github.com/repos/influxdata/influxdb-java/stargazers","contributors_url":"https://api.github.com/repos/influxdata/influxdb-java/contributors","subscribers_url":"https://api.github.com/repos/influxdata/influxdb-java/subscribers","subscription_url":"https://api.github.com/repos/influxdata/influxdb-java/subscription","commits_url":"https://api.github.com/repos/influxdata/influxdb-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/influxdata/influxdb-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/influxdata/influxdb-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/influxdata/influxdb-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/influxdata/influxdb-java/contents/{+path}","compare_url":"https://api.github.com/repos/influxdata/influxdb-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/influxdata/influxdb-java/merges","archive_url":"https://api.github.com/repos/influxdata/influxdb-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/influxdata/influxdb-java/downloads","issues_url":"https://api.github.com/repos/influxdata/influxdb-java/issues{/number}","pulls_url":"https://api.github.com/repos/influxdata/influxdb-java/pulls{/number}","milestones_url":"https://api.github.com/repos/influxdata/influxdb-java/milestones{/number}","notifications_url":"https://api.github.com/repos/influxdata/influxdb-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/influxdata/influxdb-java/labels{/name}","releases_url":"https://api.github.com/repos/influxdata/influxdb-java/releases{/id}","deployments_url":"https://api.github.com/repos/influxdata/influxdb-java/deployments","created_at":"2014-04-30T18:56:32Z","updated_at":"2016-11-09T16:57:54Z","pushed_at":"2016-11-13T14:02:02Z","git_url":"git://github.com/influxdata/influxdb-java.git","ssh_url":"git@github.com:influxdata/influxdb-java.git","clone_url":"https://github.com/influxdata/influxdb-java.git","svn_url":"https://github.com/influxdata/influxdb-java","homepage":null,"size":616,"stargazers_count":211,"watchers_count":211,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":170,"mirror_url":null,"open_issues_count":12,"forks":170,"open_issues":12,"watchers":211,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/influxdata/influxdb-java/pulls/236"},"html":{"href":"https://github.com/influxdata/influxdb-java/pull/236"},"issue":{"href":"https://api.github.com/repos/influxdata/influxdb-java/issues/236"},"comments":{"href":"https://api.github.com/repos/influxdata/influxdb-java/issues/236/comments"},"review_comments":{"href":"https://api.github.com/repos/influxdata/influxdb-java/pulls/236/comments"},"review_comment":{"href":"https://api.github.com/repos/influxdata/influxdb-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/influxdata/influxdb-java/pulls/236/commits"},"statuses":{"href":"https://api.github.com/repos/influxdata/influxdb-java/statuses/01e17d3b23153bd609b102dabc7c5883fd6a381f"}}}}
{"actor":{"display_login":"jiafu1115"}}