code: public TypedQuery<T> select(Query query) {
          TypedQuery<T> q = select(query.getFilter(), query.getOrderBy());
  
          Integer limit = query.getLimit();
          Integer offset = query.getOffset();
  
          if (limit != null) {
              q.setMaxResults(limit);
          }
          if (offset != null) {
              q.setFirstResult(offset);
          }
  
          return q;
      }
docs: Creates a new query that is the basis for the {@link JpaRepository#find(org.cdlflex.fruit.Query)} call. Depending
  on which parameters are set in the {@link org.cdlflex.fruit.Query} object, the query {@code TypedQuery} is built
  dynamically.
  
  @param query the fruit query
  @return a jpa query