public static void populateData() throws Exception {
    /*
     * Set villages = new HashSet(); for (int i=0; i<10; i++){ villages.add(new Village(i)); }
     *
     * Set cities = new HashSet(); for (int i=0; i<10; i++){ cities.add(new City(i)); }
     *
     * Set districts = new HashSet(); for (int i=0; i<10; i++){ districts.add(new District(i,
     * cities, villages)); }
     *
     * Set states = new HashSet(); for (int i=0; i<10; i++){ states.add(new State(i, districts)); }
     */

    /* Add the countries */
    for (int i = 0; i < MAX_OBJECTS; i++) {
      region.put(i, new Country(i, 2, 3, 4, 4));
      region1.put(i, new Country(i, 2, 3, 4, 4));
      region2.put(i, new Country(i, 2, 3, 4, 4));
      region3.put(i, new Country(i, 2, 3, 4, 4));
    }
    CacheUtils.log("Regions are populated");

  }
Get the performance of Range query in an AND junction.
geode-core/src/performanceTest/java/org/apache/geode/cache/query/BaseLineAndCompareQueryPerfJUnitTest.java