private SearchHits query(String query)
     throws SqlParseException, SQLFeatureNotSupportedException, SQLFeatureNotSupportedException {
   SearchDao searchDao = MainTestSuite.getSearchDao();
   SearchRequestBuilder select = (SearchRequestBuilder) searchDao.explain(query);
   return select.get().getHits();
 }
 private SqlElasticSearchRequestBuilder getSearchRequestBuilder(String query)
     throws SqlParseException, SQLFeatureNotSupportedException {
   SearchDao searchDao = MainTestSuite.getSearchDao();
   return (SqlElasticSearchRequestBuilder) searchDao.explain(query).explain();
 }