{"action":"created","issue":{"url":"https://api.github.com/repos/radargun/radargun/issues/283","labels_url":"https://api.github.com/repos/radargun/radargun/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/radargun/radargun/issues/283/comments","events_url":"https://api.github.com/repos/radargun/radargun/issues/283/events","html_url":"https://github.com/radargun/radargun/pull/283","id":111386464,"number":283,"title":"Query aggregations","user":{"login":"jmarkos","id":2182658,"avatar_url":"https://avatars.githubusercontent.com/u/2182658?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarkos","html_url":"https://github.com/jmarkos","followers_url":"https://api.github.com/users/jmarkos/followers","following_url":"https://api.github.com/users/jmarkos/following{/other_user}","gists_url":"https://api.github.com/users/jmarkos/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarkos/subscriptions","organizations_url":"https://api.github.com/users/jmarkos/orgs","repos_url":"https://api.github.com/users/jmarkos/repos","events_url":"https://api.github.com/users/jmarkos/events{/privacy}","received_events_url":"https://api.github.com/users/jmarkos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-14T12:23:34Z","updated_at":"2015-10-22T11:47:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/radargun/radargun/pulls/283","html_url":"https://github.com/radargun/radargun/pull/283","diff_url":"https://github.com/radargun/radargun/pull/283.diff","patch_url":"https://github.com/radargun/radargun/pull/283.patch"},"body":"Aggregations in Infinispan 8 use Java8 features, so I moved the whole support only to JDG plugin for 2.x branch.\r\n\r\nNot using structured expressions leads to this structure:\r\n```html\r\n<having>\r\n    <gt value=\"50000\">\r\n        <aggregated-path>\r\n            <sum path=\"integerValue\"/>\r\n        </aggregated-path>\r\n    </gt>\r\n</having>\r\n```\r\n\r\nHazelcast requires a class (implementing PropertyExtractor) which extracts the aggregated property from cache entries. We use reflection for this in ReflexivePropertyExtractor. According to my local tests, it wasn't slower than using a special PropertyExtractor (like NumberObjectPropertyExtractor) which would know about the entries used in the test."},"comment":{"url":"https://api.github.com/repos/radargun/radargun/issues/comments/150196143","html_url":"https://github.com/radargun/radargun/pull/283#issuecomment-150196143","issue_url":"https://api.github.com/repos/radargun/radargun/issues/283","id":150196143,"user":{"login":"jmarkos","id":2182658,"avatar_url":"https://avatars.githubusercontent.com/u/2182658?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarkos","html_url":"https://github.com/jmarkos","followers_url":"https://api.github.com/users/jmarkos/followers","following_url":"https://api.github.com/users/jmarkos/following{/other_user}","gists_url":"https://api.github.com/users/jmarkos/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarkos/subscriptions","organizations_url":"https://api.github.com/users/jmarkos/orgs","repos_url":"https://api.github.com/users/jmarkos/repos","events_url":"https://api.github.com/users/jmarkos/events{/privacy}","received_events_url":"https://api.github.com/users/jmarkos/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T11:47:12Z","updated_at":"2015-10-22T11:47:12Z","body":"Updated. This will require changes to @mgencur 's work, because we can no longer depend on infinispan80 plugin, which uses Java 8."}}