public static IsAggregatingResults Visit(IEnumerable <GroupJoinClause> groupJoinClause, QueryModel queryModel)
        {
            var visitor = new GroupJoinAggregateDetectionQueryModelVisitor(groupJoinClause);

            visitor.VisitQueryModel(queryModel);

            return(visitor._groupJoinAggregateDetectionVisitor.GetResults());
        }
 private static IsAggregatingResults IsAggregatingGroupJoin(QueryModel model, IEnumerable <GroupJoinClause> clause)
 {
     return(GroupJoinAggregateDetectionQueryModelVisitor.Visit(clause, model));
 }