code: public Query<Object> build() {
      QueryBean<Object> queryBean = new QueryBean<Object>();
      queryBean.setStatement(toQueryString());
      queryBean.setParams(CollectUtils.newHashMap(getParams()));
      if (null != limit) {
        queryBean.setLimit(new PageLimit(limit.getPageIndex(), limit.getPageSize()));
      }
      queryBean.setCountStatement(toCountString());
      queryBean.setCacheable(cacheable);
      queryBean.setLang(getLang());
      return queryBean;
    }
docs: <p>
  build.
  </p>
  
  @return a {@link org.beangle.commons.dao.query.Query} object.