[ 
https://issues.apache.org/jira/browse/GEODE-7195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16929093#comment-16929093
 ] 

ASF subversion and git services commented on GEODE-7195:
--------------------------------------------------------

Commit c00e92bb95f5aa1bed10a70cc8fcb373cfc4cf5a in geode's branch 
refs/heads/develop from Juan José Ramos
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=c00e92b ]

GEODE-7195: Add OQL before aggregations callback (#4048)

- Fixed minor warnings and refactored integration test.
- Added 'beforeAggregationsAndGroupBy' method callback to the
  QueryObserver interface.

> Add OQL callback to be executed before aggregations in QueryObserver
> --------------------------------------------------------------------
>
>                 Key: GEODE-7195
>                 URL: https://issues.apache.org/jira/browse/GEODE-7195
>             Project: Geode
>          Issue Type: Improvement
>          Components: querying
>            Reporter: Juan José Ramos Cassella
>            Assignee: Juan José Ramos Cassella
>            Priority: Major
>              Labels: GeodeCommons
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> The interface is used by testing/debugging code to be notified of query 
> events. We should add a new callback to be invoked *after* executing the 
> query criteria but *before* applying the aggregate functions and group by 
> clauses:
> {code:title=CompiledGroupBySelect.java|borderStyle=solid}
> @Override
> public SelectResults evaluate(ExecutionContext context) throws 
> FunctionDomainException, TypeMismatchException, NameResolutionException, 
> QueryInvocationTargetException {
>   SelectResults sr = super.evaluate(context);
>   // Invoke Listener Here!
>   return this.applyAggregateAndGroupBy(sr, context); 
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to