title: Group by clause with QuerydslPredicateExecutor
body: <p>I have an entity as below:</p>
  
  <pre><code>@Entity
  public class Enterprise{
    private String sid = UUID.randomUUID().toString();
    private String name;
    private String organisationSid;
    private EnterpriseStatus status;
    @CreatedDate
    private Date dateCreated;
  }
  </code></pre>
  
  <p>Repository:</p>
  
  <pre><code>public interface EnterpriseRepository extends 
              PagingAndSortingRepository&lt;Enterprise, String&gt;, 
              QuerydslPredicateExecutor&lt;Enterprise&gt;{}
  </code></pre>
  
  <p><strong>Question</strong>:
  I want to get the daily/monthly/yearly count of records based on dateCreated. Can I use QueryDSL for the group by here?
  It lets me create groupBy clause like below:</p>
  
  <pre><code>GroupBy.groupBy(QEnterprise.enterprise.dateCreated.month());
  </code></pre>
  
  <p>I'm not sure how to use this <code>GroupByBuilder</code> to query repository now. Repository has a <code>findAll</code> method which takes <code>com.querydsl.core.types.Predicates</code> but none that takes <code>com.querydsl.core.group.GroupByBuilder</code></p>