code: @Then("^There are results found with:$")
      public void resultsMustBe(DataTable expectedResults) throws Exception {
  
          String type = commonspec.getResultsType();
          assertThat(type).isNotEqualTo("").overridingErrorMessage("It's necessary to define the result type");
          switch (type) {
              case "cassandra":
                  commonspec.resultsMustBeCassandra(expectedResults);
                  break;
              case "mongo":
                  commonspec.resultsMustBeMongo(expectedResults);
                  break;
              case "elasticsearch":
                  commonspec.resultsMustBeElasticsearch(expectedResults);
                  break;
              case "csv":
                  commonspec.resultsMustBeCSV(expectedResults);
                  break;
              default:
                  commonspec.getLogger().warn("default switch branch on results check");
          }
      }
docs: Checks the different results of a previous query
  
  @param expectedResults A DataTable Object with all data needed for check the results. The DataTable must contains at least 2 columns:
  a) A field column from the result
  b) Occurrences column (Integer type)
  <p>
  Example:
  |latitude| longitude|place     |occurrences|
  |12.5    |12.7      |Valencia  |1           |
  |2.5     | 2.6      |Stratio   |0           |
  |12.5    |13.7      |Sevilla   |1           |
  IMPORTANT: There no should be no existing columns
  @throws Exception