{"action":"created","comment":{"url":"https://api.github.com/repos/TextDB/textdb/pulls/comments/63569309","id":63569309,"diff_hunk":"@@ -0,0 +1,81 @@\n+package edu.uci.ics.textdb.dataflow.common;\n+\n+import java.util.List;\n+\n+import org.apache.lucene.analysis.Analyzer;\n+import org.apache.lucene.queryparser.classic.ParseException;\n+import org.apache.lucene.queryparser.classic.QueryParser;\n+import org.apache.lucene.search.Query;\n+\n+import edu.uci.ics.textdb.api.common.Attribute;\n+import edu.uci.ics.textdb.api.common.IDictionary;\n+import edu.uci.ics.textdb.api.common.IPredicate;\n+import edu.uci.ics.textdb.api.dataflow.IOperator;\n+import edu.uci.ics.textdb.api.storage.IDataReader;\n+import edu.uci.ics.textdb.api.storage.IDataStore;\n+import edu.uci.ics.textdb.common.constants.DataConstants;\n+import edu.uci.ics.textdb.common.constants.DataConstants.SourceOperatorType;\n+import edu.uci.ics.textdb.common.exception.DataFlowException;\n+import edu.uci.ics.textdb.dataflow.source.ScanBasedSourceOperator;\n+import edu.uci.ics.textdb.storage.DataReaderPredicate;\n+import edu.uci.ics.textdb.storage.reader.DataReader;\n+\n+public class DictionaryPredicate implements IPredicate {\n+\n+    private IDictionary dictionary;\n+    private Analyzer analyzer;","path":"textdb/textdb-dataflow/src/main/java/edu/uci/ics/textdb/dataflow/common/DictionaryPredicate.java","position":26,"original_position":26,"commit_id":"ca13d61127cf72980bbd75dec4acb0f1800ad8cf","original_commit_id":"f44725fb77707a32fad29ec2e5b6387a4b27ce77","user":{"login":"rajesh9625","id":15056428,"avatar_url":"https://avatars.githubusercontent.com/u/15056428?v=3","gravatar_id":"","url":"https://api.github.com/users/rajesh9625","html_url":"https://github.com/rajesh9625","followers_url":"https://api.github.com/users/rajesh9625/followers","following_url":"https://api.github.com/users/rajesh9625/following{/other_user}","gists_url":"https://api.github.com/users/rajesh9625/gists{/gist_id}","starred_url":"https://api.github.com/users/rajesh9625/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajesh9625/subscriptions","organizations_url":"https://api.github.com/users/rajesh9625/orgs","repos_url":"https://api.github.com/users/rajesh9625/repos","events_url":"https://api.github.com/users/rajesh9625/events{/privacy}","received_events_url":"https://api.github.com/users/rajesh9625/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2016-05-17T17:43:10Z","updated_at":"2016-05-17T17:43:10Z","html_url":"https://github.com/TextDB/textdb/pull/105#discussion_r63569309","pull_request_url":"https://api.github.com/repos/TextDB/textdb/pulls/105","_links":{"self":{"href":"https://api.github.com/repos/TextDB/textdb/pulls/comments/63569309"},"html":{"href":"https://github.com/TextDB/textdb/pull/105#discussion_r63569309"},"pull_request":{"href":"https://api.github.com/repos/TextDB/textdb/pulls/105"}}},"pull_request":{"url":"https://api.github.com/repos/TextDB/textdb/pulls/105","id":70313292,"html_url":"https://github.com/TextDB/textdb/pull/105","diff_url":"https://github.com/TextDB/textdb/pull/105.diff","patch_url":"https://github.com/TextDB/textdb/pull/105.patch","issue_url":"https://api.github.com/repos/TextDB/textdb/issues/105","number":105,"state":"open","locked":false,"title":"[Issue #90] (Team 1) - Added Dictionary Predicate","user":{"login":"rajesh9625","id":15056428,"avatar_url":"https://avatars.githubusercontent.com/u/15056428?v=3","gravatar_id":"","url":"https://api.github.com/users/rajesh9625","html_url":"https://github.com/rajesh9625","followers_url":"https://api.github.com/users/rajesh9625/followers","following_url":"https://api.github.com/users/rajesh9625/following{/other_user}","gists_url":"https://api.github.com/users/rajesh9625/gists{/gist_id}","starred_url":"https://api.github.com/users/rajesh9625/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajesh9625/subscriptions","organizations_url":"https://api.github.com/users/rajesh9625/orgs","repos_url":"https://api.github.com/users/rajesh9625/repos","events_url":"https://api.github.com/users/rajesh9625/events{/privacy}","received_events_url":"https://api.github.com/users/rajesh9625/received_events","type":"User","site_admin":false},"body":"@chenlica @JavierJia  Kindly review this. ","created_at":"2016-05-17T07:51:21Z","updated_at":"2016-05-17T17:43:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dea100f6d5f99571d5b0c45556a0c538a43f3184","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TextDB/textdb/pulls/105/commits","review_comments_url":"https://api.github.com/repos/TextDB/textdb/pulls/105/comments","review_comment_url":"https://api.github.com/repos/TextDB/textdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TextDB/textdb/issues/105/comments","statuses_url":"https://api.github.com/repos/TextDB/textdb/statuses/ca13d61127cf72980bbd75dec4acb0f1800ad8cf","head":{"label":"TextDB:team1-dictionary-predicate","ref":"team1-dictionary-predicate","sha":"ca13d61127cf72980bbd75dec4acb0f1800ad8cf","user":{"login":"TextDB","id":18126950,"avatar_url":"https://avatars.githubusercontent.com/u/18126950?v=3","gravatar_id":"","url":"https://api.github.com/users/TextDB","html_url":"https://github.com/TextDB","followers_url":"https://api.github.com/users/TextDB/followers","following_url":"https://api.github.com/users/TextDB/following{/other_user}","gists_url":"https://api.github.com/users/TextDB/gists{/gist_id}","starred_url":"https://api.github.com/users/TextDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TextDB/subscriptions","organizations_url":"https://api.github.com/users/TextDB/orgs","repos_url":"https://api.github.com/users/TextDB/repos","events_url":"https://api.github.com/users/TextDB/events{/privacy}","received_events_url":"https://api.github.com/users/TextDB/received_events","type":"Organization","site_admin":false},"repo":{"id":53976910,"name":"textdb","full_name":"TextDB/textdb","owner":{"login":"TextDB","id":18126950,"avatar_url":"https://avatars.githubusercontent.com/u/18126950?v=3","gravatar_id":"","url":"https://api.github.com/users/TextDB","html_url":"https://github.com/TextDB","followers_url":"https://api.github.com/users/TextDB/followers","following_url":"https://api.github.com/users/TextDB/following{/other_user}","gists_url":"https://api.github.com/users/TextDB/gists{/gist_id}","starred_url":"https://api.github.com/users/TextDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TextDB/subscriptions","organizations_url":"https://api.github.com/users/TextDB/orgs","repos_url":"https://api.github.com/users/TextDB/repos","events_url":"https://api.github.com/users/TextDB/events{/privacy}","received_events_url":"https://api.github.com/users/TextDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TextDB/textdb","description":"Text-centric data management system","fork":false,"url":"https://api.github.com/repos/TextDB/textdb","forks_url":"https://api.github.com/repos/TextDB/textdb/forks","keys_url":"https://api.github.com/repos/TextDB/textdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TextDB/textdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TextDB/textdb/teams","hooks_url":"https://api.github.com/repos/TextDB/textdb/hooks","issue_events_url":"https://api.github.com/repos/TextDB/textdb/issues/events{/number}","events_url":"https://api.github.com/repos/TextDB/textdb/events","assignees_url":"https://api.github.com/repos/TextDB/textdb/assignees{/user}","branches_url":"https://api.github.com/repos/TextDB/textdb/branches{/branch}","tags_url":"https://api.github.com/repos/TextDB/textdb/tags","blobs_url":"https://api.github.com/repos/TextDB/textdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TextDB/textdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TextDB/textdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/TextDB/textdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TextDB/textdb/statuses/{sha}","languages_url":"https://api.github.com/repos/TextDB/textdb/languages","stargazers_url":"https://api.github.com/repos/TextDB/textdb/stargazers","contributors_url":"https://api.github.com/repos/TextDB/textdb/contributors","subscribers_url":"https://api.github.com/repos/TextDB/textdb/subscribers","subscription_url":"https://api.github.com/repos/TextDB/textdb/subscription","commits_url":"https://api.github.com/repos/TextDB/textdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/TextDB/textdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/TextDB/textdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/TextDB/textdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/TextDB/textdb/contents/{+path}","compare_url":"https://api.github.com/repos/TextDB/textdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TextDB/textdb/merges","archive_url":"https://api.github.com/repos/TextDB/textdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TextDB/textdb/downloads","issues_url":"https://api.github.com/repos/TextDB/textdb/issues{/number}","pulls_url":"https://api.github.com/repos/TextDB/textdb/pulls{/number}","milestones_url":"https://api.github.com/repos/TextDB/textdb/milestones{/number}","notifications_url":"https://api.github.com/repos/TextDB/textdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TextDB/textdb/labels{/name}","releases_url":"https://api.github.com/repos/TextDB/textdb/releases{/id}","deployments_url":"https://api.github.com/repos/TextDB/textdb/deployments","created_at":"2016-03-15T20:38:46Z","updated_at":"2016-05-16T23:33:41Z","pushed_at":"2016-05-17T17:38:21Z","git_url":"git://github.com/TextDB/textdb.git","ssh_url":"git@github.com:TextDB/textdb.git","clone_url":"https://github.com/TextDB/textdb.git","svn_url":"https://github.com/TextDB/textdb","homepage":null,"size":13926,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":16,"forks":3,"open_issues":16,"watchers":8,"default_branch":"master"}},"base":{"label":"TextDB:master","ref":"master","sha":"fc894b7ac04f239dd0bcdfcd12a4490987c7e4c8","user":{"login":"TextDB","id":18126950,"avatar_url":"https://avatars.githubusercontent.com/u/18126950?v=3","gravatar_id":"","url":"https://api.github.com/users/TextDB","html_url":"https://github.com/TextDB","followers_url":"https://api.github.com/users/TextDB/followers","following_url":"https://api.github.com/users/TextDB/following{/other_user}","gists_url":"https://api.github.com/users/TextDB/gists{/gist_id}","starred_url":"https://api.github.com/users/TextDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TextDB/subscriptions","organizations_url":"https://api.github.com/users/TextDB/orgs","repos_url":"https://api.github.com/users/TextDB/repos","events_url":"https://api.github.com/users/TextDB/events{/privacy}","received_events_url":"https://api.github.com/users/TextDB/received_events","type":"Organization","site_admin":false},"repo":{"id":53976910,"name":"textdb","full_name":"TextDB/textdb","owner":{"login":"TextDB","id":18126950,"avatar_url":"https://avatars.githubusercontent.com/u/18126950?v=3","gravatar_id":"","url":"https://api.github.com/users/TextDB","html_url":"https://github.com/TextDB","followers_url":"https://api.github.com/users/TextDB/followers","following_url":"https://api.github.com/users/TextDB/following{/other_user}","gists_url":"https://api.github.com/users/TextDB/gists{/gist_id}","starred_url":"https://api.github.com/users/TextDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TextDB/subscriptions","organizations_url":"https://api.github.com/users/TextDB/orgs","repos_url":"https://api.github.com/users/TextDB/repos","events_url":"https://api.github.com/users/TextDB/events{/privacy}","received_events_url":"https://api.github.com/users/TextDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TextDB/textdb","description":"Text-centric data management system","fork":false,"url":"https://api.github.com/repos/TextDB/textdb","forks_url":"https://api.github.com/repos/TextDB/textdb/forks","keys_url":"https://api.github.com/repos/TextDB/textdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TextDB/textdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TextDB/textdb/teams","hooks_url":"https://api.github.com/repos/TextDB/textdb/hooks","issue_events_url":"https://api.github.com/repos/TextDB/textdb/issues/events{/number}","events_url":"https://api.github.com/repos/TextDB/textdb/events","assignees_url":"https://api.github.com/repos/TextDB/textdb/assignees{/user}","branches_url":"https://api.github.com/repos/TextDB/textdb/branches{/branch}","tags_url":"https://api.github.com/repos/TextDB/textdb/tags","blobs_url":"https://api.github.com/repos/TextDB/textdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TextDB/textdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TextDB/textdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/TextDB/textdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TextDB/textdb/statuses/{sha}","languages_url":"https://api.github.com/repos/TextDB/textdb/languages","stargazers_url":"https://api.github.com/repos/TextDB/textdb/stargazers","contributors_url":"https://api.github.com/repos/TextDB/textdb/contributors","subscribers_url":"https://api.github.com/repos/TextDB/textdb/subscribers","subscription_url":"https://api.github.com/repos/TextDB/textdb/subscription","commits_url":"https://api.github.com/repos/TextDB/textdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/TextDB/textdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/TextDB/textdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/TextDB/textdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/TextDB/textdb/contents/{+path}","compare_url":"https://api.github.com/repos/TextDB/textdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TextDB/textdb/merges","archive_url":"https://api.github.com/repos/TextDB/textdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TextDB/textdb/downloads","issues_url":"https://api.github.com/repos/TextDB/textdb/issues{/number}","pulls_url":"https://api.github.com/repos/TextDB/textdb/pulls{/number}","milestones_url":"https://api.github.com/repos/TextDB/textdb/milestones{/number}","notifications_url":"https://api.github.com/repos/TextDB/textdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TextDB/textdb/labels{/name}","releases_url":"https://api.github.com/repos/TextDB/textdb/releases{/id}","deployments_url":"https://api.github.com/repos/TextDB/textdb/deployments","created_at":"2016-03-15T20:38:46Z","updated_at":"2016-05-16T23:33:41Z","pushed_at":"2016-05-17T17:38:21Z","git_url":"git://github.com/TextDB/textdb.git","ssh_url":"git@github.com:TextDB/textdb.git","clone_url":"https://github.com/TextDB/textdb.git","svn_url":"https://github.com/TextDB/textdb","homepage":null,"size":13926,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":16,"forks":3,"open_issues":16,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TextDB/textdb/pulls/105"},"html":{"href":"https://github.com/TextDB/textdb/pull/105"},"issue":{"href":"https://api.github.com/repos/TextDB/textdb/issues/105"},"comments":{"href":"https://api.github.com/repos/TextDB/textdb/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/TextDB/textdb/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/TextDB/textdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TextDB/textdb/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/TextDB/textdb/statuses/ca13d61127cf72980bbd75dec4acb0f1800ad8cf"}}}}