geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan José Ramos Cassella (Jira) <>
Subject [jira] [Created] (GEODE-7195) Add BeforeAggregates Callback in QueryObserver
Date Thu, 12 Sep 2019 12:48:00 GMT
Juan José Ramos Cassella created GEODE-7195:

             Summary: Add BeforeAggregates Callback in QueryObserver
                 Key: GEODE-7195
             Project: Geode
          Issue Type: Improvement
          Components: querying
            Reporter: Juan José Ramos Cassella

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:

public SelectResults evaluate(ExecutionContext context) throws FunctionDomainException, TypeMismatchException,
NameResolutionException, QueryInvocationTargetException {
  SelectResults sr = super.evaluate(context);
  // Invoke Listener Here!
  return this.applyAggregateAndGroupBy(sr, context); 

This message was sent by Atlassian Jira

View raw message